PDA

View Full Version : phpBB refuses to connect to MySQL database...


kwonhodojo
07-17-2006, 05:07 PM
It's the damnest thing, I'm trying to move my forum and it absolutely refuses to connect. I made the database, I imported my SQL file and I made sure it was correct in config.php, but no matter what it won't connect to the database. Is there something I should be using other then 'localhost' because thats the only thing in that file that I suppose could be incorrect...

I even tried deleting the database, making a fresh one, use a fresh installation of phpBB (incase something in a different file was messing it up) and it still refuses to connect.

Any help please?

UnlimitedMB
07-17-2006, 05:11 PM
You need to use "mysql" not "localhost".

kwonhodojo
07-17-2006, 05:16 PM
The 'dbms' is already mysql. I was talking about the 'dbhost' which was localhost by default on my last host. I changed localhost to mysql and it still didn't work though. :(

UnlimitedMB
07-17-2006, 05:21 PM
You need to set dbhost to mysql.
I do not know what dbms is.

I have edited your config.php and changed
$dbhost = 'localhost';
to
$dbhost = 'mysql';

kwonhodojo
07-17-2006, 05:23 PM
EDIT: Nevermind, it works. :-/ Not sure what the deal was, but thank you. :)