adi003 - 27 June 2009 09:05 AM
Hello. I have a small problem:
Someone wrote a application for me using codeiginiter. when i moved the app to another host i modified the config files and i imported the database but now i cant login, it says user and password wrong. on the original host its working well. i checked the database and the users and passwords were there. what can i do?
Hi adi003 and welcome to the forums.
You’re in for some Fun, that’s for sure.
Is the database on the same box as the web server?
Were there any stored procedures in use with this application (most people forget they have to copy those across separately). Actually this is a MySQL problem. What database and PHP and web server and OS and CI core versions are you using?
You may have some version incompatibilities - particularly if you moved from MySQL 4 to 5 (or vice versa) or PHP 4 to 5 (or vice versa). I’d check previous and current versions of all these things.
Can you login to the database using the same credentials as your application is using (database.php) but using the database’s command line tools from the same host that your web application is running?