Database Error Occurred |
I tried to migrate the database from one server to another.
After set up the database and import mysql file. I went to change information under application/config/database.php 'hostname' => 'localhost', 'username' => 'root', 'password' => '12345', 'database' => 'xxxxxx', 'dbdriver' => 'mysql', However, I get the following error. Unable to select the specified database: xxxxxxx Filename: core/CodeIgniter.php Line Number: 500 Please kindly advise where does it goes wrong.
@mycoban,
> Please kindly advise where does it goes wrong. Try connecting either with MySqli or PDO without using CodeIgniter and ensure the login parameters are correct.
Here is code for testing a database connection etc;
PHP Code: <?php What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
MySQL is depreciated. So you must now use MySQLi.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |