[eluser]Mr Lazy[/eluser]
Hi,
I hope someone can help me here, nothing makes any sense. I have just upgraded to 1.7.1 from 1.7.0, but I hoping this is not the source of the strangeness.
I have my database connection details set up in database.php, and I recently deployed the PHP code to a server where there was an old version of the application, which had the same (MySQL) connection details as the new version. I have made no changes to the database user account, just dropped a schema and re-created it.
But now I get the error:
Quote:A Database Error Occurred
Unable to connect to your database server using the provided settings.
Please contact your administrator.
So I copied from database.php and pasted into a terminal my username and password using the command:
Code:
mysql -h localhost -p -u user_name
and I was able to log into MySQL. So if I can copy and paste the connection details (host is localhost), why can't the application connect? The previous version(s) has been running CI and connected without any issues.
Any ideas how I might proceed?
Many Thanks in advance,
Mr L.