View Full Version : Got this error
Ray2khax
Wed 27th Aug '08, 2:07pm
Got this error when I was typing my upgrade.php into my site domain
Database error in vBulletin :
Cannot use database forum
MySQL Error : Access denied for user 'untide'@'localhost' to database 'forum'
Error Number : 1044
Request Date : Wednesday, August 27th 2008 @ 10:36:00 AM
Error Date : Wednesday, August 27th 2008 @ 10:36:00 AM
Script : And the script is the /install/upgrade.php
Referrer :
IP Address : 98.216.172.180
Username :
Classname : vB_Database
MySQL Version : 4.1.22-standard
Ray2khax
Wed 27th Aug '08, 2:07pm
Why is this? Sorry for bump didn't want to make it all confusing. Also how do i fix it?
Lynne
Wed 27th Aug '08, 2:12pm
Check your config file and make sure the information is correct to connect to the database.
Steve Machol
Wed 27th Aug '08, 2:12pm
The most likely cause of this error is that the info in your config.php file is wrong or your db user does not have full permissions to this database. Please read this for all the known causes of this error:
http://www.vbulletin.com/forum/showthread.php?t=194542
Ray2khax
Wed 27th Aug '08, 2:17pm
Could the reason also be that the permissions are denied? Meaning like the chmod?
Steve Machol
Wed 27th Aug '08, 2:25pm
No, if it were file or directory permissions you would get a different error.
Ray2khax
Wed 27th Aug '08, 2:29pm
Also Do I leave the ip as the default?
Steve Machol
Wed 27th Aug '08, 2:34pm
What 'ip'?
Ray2khax
Wed 27th Aug '08, 2:40pm
Okay I just don't understand all these things at all. because I put what you said changed the local host thing and now I get this.
Database error in vBulletin :
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Unknown MySQL server host 'untide' (1)
/home/untide/public_html/forums/includes/class_core.php on line 311
MySQL Error :
Error Number :
Request Date : Wednesday, August 27th 2008 @ 11:23:41 AM
Error Date : Wednesday, August 27th 2008 @ 11:23:41 AM
Script : http://www.untide.phost.ws/forums/install/upgrade.php
Referrer :
IP Address : 98.216.172.180
Username :
Classname : vB_Database
MySQL Version :
Steve Machol
Wed 27th Aug '08, 2:42pm
That means there is no MySQL server by that name. As per the link I provided 99% of the time this should stay as 'localhost'.
Ray2khax
Wed 27th Aug '08, 2:43pm
Ok I'll re try :( thanks for all your help Ill inform you in a second
Also What do I put for $config['Database']['dbname'] = 'forum';
would that be untide.phost.ws/forums/index.php?
Ray2khax
Wed 27th Aug '08, 2:47pm
Also Do I have to edit
$config['Misc']['forumpath'] = 'c:\program files\apache group\apache\htdocs\vb3';
Im sorry I read that other post I'm just over confused.
Steve Machol
Wed 27th Aug '08, 2:50pm
I would leave that line at the default. You rarely have to change it.
Here is the online documentation explaining the config.php file and variables:
http://www.vbulletin.com/docs/html/editconfig
Ray2khax
Wed 27th Aug '08, 2:54pm
Ok I read it but one question. for this:
would it be this?
$config['MasterServer']['username'] = 'untide@localhost' or just 'untide'?
Lynne
Wed 27th Aug '08, 2:56pm
Probably just 'untide'
Did you set up your database? If so, it's the username you gave to have access to the different databases.
Ray2khax
Wed 27th Aug '08, 3:00pm
Yes untide is the username im going to try this right now :) Hopefully this works.
Ray2khax
Wed 27th Aug '08, 3:02pm
Ok I did it and now the error message went away Yay! But now it just a white screen and says "Done" At the bottom of the screen.
What should I do now?
Ray2khax
Wed 27th Aug '08, 3:10pm
Does anyone know how to fix this white screen thing?
I know im not supposed to bump but really Iv been at this all day.
Steve Machol
Wed 27th Aug '08, 4:20pm
Please see this for all the known causes of blank or 'white' pages:
http://www.vbulletin.com/docs/html/blank_pages
Powered by vBulletin™ Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.