Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 5 of 5

Thread: mysql error

  1. #1
    Join Date
    Mar 2007
    Posts
    206
    Tokens
    0

    Default mysql error

    K, So im doing a social networking site for my college mates n that nothing big and its on a good old name i hardly use, theres no readme file and 2bh, theres no document telling u how 2 install.

    I created the databases party_space wid da pwd n stuff, edited data.php with the correct info:

    //db access info
    $sql_host='localhost';//host
    $sql_user='party_space';//db user
    $sql_pass='l23';//db pass
    $sql_db='party_space';//db name

    then refreshed the site and this appears, when i've imported the mysql txt, how do i fix this?

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'party_space'@'localhost' (using password: YES) in /home/party/public_html/space/functions.php on line 34

    Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/party/public_html/space/functions.php on line 35

    Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/party/public_html/space/functions.php on line 35

    Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/party/public_html/space/functions.php on line 40

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/party/public_html/space/functions.php on line 42

  2. #2
    Join Date
    Jul 2007
    Location
    Swindon
    Posts
    990
    Tokens
    125

    Default

    its not connecting to your database. Maybe make your own configuration file to see if that will connect? if not make sure you gave it full privalleges.

  3. #3
    Join Date
    Mar 2007
    Posts
    206
    Tokens
    0

    Default

    Quote Originally Posted by Eccentric View Post
    its not connecting to your database. Maybe make your own configuration file to see if that will connect? if not make sure you gave it full privalleges.
    I have, not good at making config files from scratch 2bh either, n i think this script dont actually work evne tho ive seen it work on youprofile.net

  4. #4
    Join Date
    Jul 2007
    Location
    Swindon
    Posts
    990
    Tokens
    125

    Default

    www.pixel2life.com php tutorials then go to mysql intergration or something then look how to make a config file

  5. #5
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    your username or password are wrong. Have you given permission to the table and user?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •