Click here to Skip to main content
15,746,883 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i learning CI by lynda compony movie
this part : 3. Saving magazines using active records
i have a problem
program have one error

A Database Error Occurred

Unable to connect to your database server using the provided settings.

Filename: C:\wamp\www\codeigniter\system\database\DB_driver.php

Line Number: 124

how i fix them ??

Mahshid Fallah 3-Mar-14 9:08am    
Who did not know the solution

Looks like you have not set database settings in database.php which is located in config folder.

Kindly set the values in database.php as per your localhost or server configuration for mysql.

It will resolve your issue.if you have any difficulty feel free to let me know.

Share this answer
You have not properly set your database settings which can be found on config/database.php.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900