Strats Posted February 5, 2008 Posted February 5, 2008 I'm new to this coding but really would like to learn. I have a game and plenty of mods but I'm stuck on the first bit lol I can view my login page fine but... I can't get on my site i get lots of errors saying things like : http://mygamename.890m.com/authenticate.php Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/a2829751/public_html/mysql.php on line 2 PHP Error Message Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/a2829751/public_html/mysql.php on line 3 PHP Error Message Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/a2829751/public_html/authenticate.php on line 30 Free Web Hosting Access denied for user 'root'@'localhost' (using password: YES) Then when i register the register box comes up but also this other stuff... http://mygamename.890m.com/register.php Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/a2829751/public_html/mysql.php on line 2 PHP Error Message Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/a2829751/public_html/mysql.php on line 3 Sorry for being a noob but i wont learn without asking will i lol Can anyone help me out a bit? Quote
Guest Anonymous Posted February 5, 2008 Posted February 5, 2008 Re: A little help here anyone? please Have you ran the installer file ? created a new database and assigned a user to the database ? Quote
mdshare Posted February 5, 2008 Posted February 5, 2008 Re: A little help here anyone? please usually you need the server prefix also to connect to the db, this could be the problem you have eg using for instance dbusername = root should be dbusername = servername_root same for the database so dbname = game should be dbname = servername_dbname Quote
Strats Posted February 5, 2008 Author Posted February 5, 2008 Re: A little help here anyone? please Have you ran the installer file ? created a new database and assigned a user to the database ? No and how do i do this? Quote
Isomerizer Posted February 5, 2008 Posted February 5, 2008 Re: A little help here anyone? please installer.php Also... why on earth is this topic in the Free Mods section? Quote
Strats Posted February 5, 2008 Author Posted February 5, 2008 Re: A little help here anyone? please installer.php Also... why on earth is this topic in the Free Mods section? Sorry i had no idea where to post it Quote
Guest Anonymous Posted February 5, 2008 Posted February 5, 2008 Re: A little help here anyone? please This should help you out http://www.cpanel.net/support/docs/11/c ... html Quote
YoungGold Posted February 5, 2008 Posted February 5, 2008 Re: A little help here anyone? please lol i like the bold lettering ;) YoungGold OWNS!!! Quote
Strats Posted February 6, 2008 Author Posted February 6, 2008 Re: A little help here anyone? please Read the damn install file! Unless of course the codes are stolen and you dont have it ;) The installer file is wank lol Quote
~Spooky~ Posted February 14, 2008 Posted February 14, 2008 Re: A little help here anyone? please Read the damn install file! Since when HAS CE been so FLIPPING RUDE to other members??????? 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.