Why this came out cannot select DB?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
blackscorpion
Forum Newbie
Posts: 22
Joined: Wed May 28, 2008 9:18 pm

Why this came out cannot select DB?

Post by blackscorpion »

i fix the password and ussername and name of database but this wat happned http://prowebz.890m.com/main_forum.php, it tells that "cannot select DB" what is DB? database? but i already create a database and i make a ussername and password, so i fix the other one.

if im right what should i put in may database name, a3020935_test or test?
im using 000webhost.com because it has a free mysql and phpadmin and other usefull staff.
Mr.RED
Forum Newbie
Posts: 8
Joined: Sat May 31, 2008 1:23 pm

Re: Why this came out cannot select DB?

Post by Mr.RED »

"cannot select DB" generally means one of your settings for the database is wrong... Server, password or username.

Not knowing how 000webhost.com work i can not say the format usernames etc should be in.

The databse name is the name of the database and on free hosts it is normally the same as the username.
User avatar
blackscorpion
Forum Newbie
Posts: 22
Joined: Wed May 28, 2008 9:18 pm

Finaly i finished my simple Message board!

Post by blackscorpion »

Thanks to all your help i finally finished my simple Message board, if you like to have a copy of my simple message board i would be glad to help you, thanks to all and more power to devnetwork.net
----------------------------------------------------------------------------------------------
This topic is closed jun 01 2008!
Post Reply