Jump to content
MakeWebGames

Recommended Posts

Posted

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?

Guest Anonymous
Posted

Re: A little help here anyone? please

Have you ran the installer file ? created a new database and assigned a user to the database ?

Posted

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

Posted

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?

Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...