Click here to Skip to main content
15,886,036 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

CSS
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 ??

:(
Posted
Comments
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.

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

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