CraigF Posted June 24, 2007 Posted June 24, 2007 My authenticate is fine, mysql.php is fine, my game was fine before but then my host was screwed up, so i had to redo it al, but the files are just the same, the database name is the same, the mysql.php fits it all, and there are no errors in the register.php or anything, but when i log in it says "No Database Selected" n00b question but please help guys! Thanks, Kraig Quote
UCC Posted June 24, 2007 Posted June 24, 2007 Re: No Database Selected In your mysql.php, config.php whatever file you use to enter your db username, db password, and db name...... You need to edit it because you have entered an incorrect database namw Quote
jayfrommo Posted June 25, 2007 Posted June 25, 2007 Re: No Database Selected check and double check you localhost db name and password with the local host you can leave it localhost or put your domain name the domain name works fine for me Quote
CraigF Posted June 25, 2007 Author Posted June 25, 2007 Re: No Database Selected my mysql.php is right, i have redone it and its totaly correcty im sure. and i have delted a Database and made a new one, it should be working but it isnt Quote
UCC Posted June 25, 2007 Posted June 25, 2007 Re: No Database Selected The fact is kraig, that you have the db name wrong. Your login and password appear correct but your db_name does not match. Once you accept that you'll have a better shot at fixing your problem. You may think it's correct but somewhere you have made a mistake. Quote
CraigF Posted June 25, 2007 Author Posted June 25, 2007 Re: No Database Selected that may be true, but i am sure it is right, i will try something, one second Quote
hamster01 Posted June 25, 2007 Posted June 25, 2007 Re: No Database Selected did you put the conection as a variable? $c = ... Quote
CraigF Posted June 25, 2007 Author Posted June 25, 2007 Re: No Database Selected yeah it was there, its fixed now thanks. what it was is that i didnt have my username infront of the database name Quote
UCC Posted June 25, 2007 Posted June 25, 2007 Re: No Database Selected yea, it's a funky setup like that. ;) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.