[eluser]Mr Lazy[/eluser]
Hi,
I am using WAMP 2.0 and I have noticed something very strange (and only when using CodeIgniter). While I am developing my (MySQLi) database connection works fine, the details of which I have saved in database.php in the config directory. Works great, but after a while I get an error saying there is an error with my connection. Not even having database.php open, or having done anything with the database connection it is very confusing.
The things I tried to get my connection back:
1. Restarting the MySQL service.
2. Restarting the Apache service.
3. Swearing at my monitor.
The thing that fixed the problem:
1. Copying the password from my database.php file and pasting it (again) into the user account in MySQL Admin. Then clicking apply changes.
Does anyone know what might be going on here?
Thanks in advance,
Lazy