Old Thread new problem, who knows the solution ?
Hello everyone,
I have a hosting account and am using DirectAdmin.
I made a domain and made in this domain several subdomains.
Each subdomain will be a website.
Each subdomain has its own mysql database.
So that's clear and I did made several databases, uploaded the php's by FTP and started testing.
The domain with the last added database worked fine.
The others didn't work and gave the error mentioned of this topic.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'portaaq34_alfred'@'localhost' (using password: YES)
Strange.
I was searching what causes this message and changed the password of the mysqldatabase which wasn't working.
After the change, the database worked in that domain.
But the others did not !
Doing the same with the other not working domains caused the same issue and only the last changed mysqlaccount does work.
Explaining this to my provider I am still waiting for the answer, because when its a regular problem he would known and I would find the answer at this forum, but did not.
It looks like the same configuration file has been OVERwritten with the last updated password.
It would be unlikely when I am only allowed to make 1 msql database per domain !
And I need to make 1 msql database per subdomain.
So who knows the problem and how to solve the problem?
Many thanks for your opinions and answers.
Greetings,
Alfred