Help - Search - Members - Calendar
Full Version: Connecting To Database
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
Mintyrob
Hi guys,

I'm having trouble connecting to a database during an install of Wordpress on my free domain and wondered if anyone can help me out.. I'm fairly proficient in all this so I must be missing something somewhere or just plain tired! lol .. wacko.gif

Anyway, I have created my SQL database and user and assigned priviliges accordingly. I then made the necassary changes to the wp-config file (for wordpress) and uploaded... but just to confirm these are correct:

Database Name: thebaldock_livedb
Database User: thebaldock_liveadmin
Hostname: localhost

Now when I browse to the install path at http://thebaldock.uuuq.com/wp-admin/install.php I get the following error:

CODE
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?


Now im sure I have entered all the correct parameters and settings so can anyone point me in the right direction???

Thanks in advance,
Rob.
swordz
Your user and db names are too long - the maximum limit is 16 characters.

swordz
Mintyrob
Thanks for the quick reply Swordz!

Having read your guides and various posts before posting my question I now feel somewhat a dumbass!

I specifically read about the 16 character limit several times and still failed to see the light! huh.gif so only my ignorance to blame .. plus I thought the limit was on the bit after the underscore '_' not inclusive so there you go, you learn something new everyday!

Thanks again..
PS..its working a treat now..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.