Unable to connect to database.
Permalink
love the user end of your software. However I can't get the latest version installed! The last version installed without a problem over a month ago. I deleted the account and am now trying to install 5.3.3.1 on an identical account on the same web server.
The frustrating thing is, there are no error messages I can report on other then it says "Unable to connect to database." I have all green checkmarks next to the Testing Required Items. I have checked the database names at least 3 times as well as the password. I've gone through the permissions settings. No luck.
This is a real blow to my technical ego as I've installed at least 40 CMS's on my web server in the past. c5 definitely has the most involved installation process. Are there any instructions that offer greater detail on the installation process for cpanel users? I'm assuming most c5 users run cpanel but I could be wrong.
Any help you can shine on the subject is hugely appreciated. Perhaps any more details on the installation process through cpanel.
Thanks
The frustrating thing is, there are no error messages I can report on other then it says "Unable to connect to database." I have all green checkmarks next to the Testing Required Items. I have checked the database names at least 3 times as well as the password. I've gone through the permissions settings. No luck.
This is a real blow to my technical ego as I've installed at least 40 CMS's on my web server in the past. c5 definitely has the most involved installation process. Are there any instructions that offer greater detail on the installation process for cpanel users? I'm assuming most c5 users run cpanel but I could be wrong.
Any help you can shine on the subject is hugely appreciated. Perhaps any more details on the installation process through cpanel.
Thanks
I'm having exactly the same problem. Unfortunately, Lunarpages requires an underscore in both the database name and the sql username, since the chosen name for each is prepended by the hosting account username.
Any workarounds?
Thanks!
Any workarounds?
Thanks!
I have an underscore in the database name and username as well.
It was the password that was the issue.
Once I removed any special characters and used letters and numbers it worked just fine.
Good luck!
It was the password that was the issue.
Once I removed any special characters and used letters and numbers it worked just fine.
Good luck!
I am in the same situation. I uploaded all my code and created new database and new db user. I got the same error message like you.
In adodb.inc.php the function parse_url() to split the string
in function ADONewConnection($db='')
$dsna = @parse_url($fakedsn);
My mistake was: I had a "/" in the password. Then parse_url fails.
Axel
In adodb.inc.php the function parse_url() to split the string
in function ADONewConnection($db='')
$dsna = @parse_url($fakedsn);
My mistake was: I had a "/" in the password. Then parse_url fails.
Axel
I was having the same issue and that resolved it for me.
Hope this helps!