Hello,
when moving the site from a local to a remote server, I can't log in with the user+password set up in my config.php:
Why the hell is it trying to log in as 'root'@'localhost' when my config.php says:
/** * Database username * */ $config->dbUser = 'myusername'; /** * Database password * */ $config->dbPass = 'mypassword'; /** * Database host * */ $config->dbHost = 'mydbname';
Should'nt it send a request as 'myusername'? Why 'root'?
I tested many advice found in the forum without any luck:
export+import tables only, setting the local server with same username, db name and password, deleting cache…
The site is in a subdir (pw) so I also edited the .htaccess as in http://processwire.com/docs/tutorials/troubleshooting-guide/page3 (I did it on the .htaccess in the subdir, not the main dir).
Thank you