Page 1 of 1

I dont know the Problem?

Posted: Sat May 31, 2008 10:16 pm
by blackscorpion
i create all the requirements and i try to view it this came out
--------------------------

PHP Error Message
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/a3020935/public_html/main_forum.php on line 9

Free Web Hosting
cannot connect

--------------------------

how can i fix it do i have to edit the table? you can view may main_forum.php at http://www.prowebz.890m.com, i use the code provide by this website http://www.phpeasystep.com/phptu/12.html please help me. thnx

Re: I dont know the Problem?

Posted: Sat May 31, 2008 10:49 pm
by Christopher
For mysql_connect() you need to supply are server name (usually localhost), a username and a password. The username 'nobody' in the error message indicates that you may not be providing a username.

After i fix the one problem, 2nd problem pops out?

Posted: Sun Jun 01, 2008 5:21 am
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.

Re: I dont know the Problem?

Posted: Sun Jun 01, 2008 5:44 am
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!