Closed Thread
Results 1 to 5 of 5

Thread: host?

  1. #1
    amuratovic187 is offline x10Hosting Member amuratovic187 is an unknown quantity at this point
    Join Date
    Sep 2011
    Posts
    3

    host?

    whats my host name? localhost?

  2. #2
    calistoy's Avatar
    calistoy is offline Free Support Volunteer calistoy is just really nice
    Join Date
    Aug 2008
    Location
    USA
    Posts
    5,598

    Re: host?

    Yes. It is localhost.

  3. #3
    amuratovic187 is offline x10Hosting Member amuratovic187 is an unknown quantity at this point
    Join Date
    Sep 2011
    Posts
    3

    Re: host?

    $host = "localhost";
    $user = "game";
    $pass = "lolmypass";
    $tablename = "omerorig_game";


    i take it im putting something wrong.

  4. #4
    Anna's Avatar
    Anna is offline I am just me Anna is a name known to allAnna is a name known to all
    Join Date
    Aug 2007
    Location
    Sweden
    Posts
    6,569

    Re: host?

    database user, and database name is ALWAYS prefixed with your cpanel username, like cpanelname_dbname and cpanelname_dbuser, so judging by that snippet you have the user wrong. I will assume that is not your actual password, if it is you should change it immediately.

    Ps it would make more sense to call the last variable $database as you would be connecting to the actual database, not a table in a database

    One more thing, you would need to add the user to the database and give it required privileges if you haven't already, this is done in cPanel under "mysql databases"
    Last edited by Anna; 09-02-2011 at 02:44 PM.
    Do you have trouble reaching your site?
    Check here first: News and Announcements


    Don't forget that x10hosting has an irc server as well. Come and join the fun
    server: irc.x10hosting.com, main channel: #x10hosting
    There's a lot helpful users there if need help building your site

  5. #5
    amuratovic187 is offline x10Hosting Member amuratovic187 is an unknown quantity at this point
    Join Date
    Sep 2011
    Posts
    3

    Re: host?

    soooo i just remembered that i'm a moron.
    LOL i just realized i forgot to put the user to the database and give all permissions.

    & no thats not my actual password lol thanks for the help

Closed Thread

Similar Threads

  1. Please i can't find any free host best than this host
    By ubi_co17 in forum Free Hosting
    Replies: 1
    Last Post: 02-23-2011, 08:16 PM
  2. Replies: 1
    Last Post: 05-15-2010, 11:19 AM
  3. Local host to remote host
    By dchamai in forum Free Hosting
    Replies: 5
    Last Post: 02-21-2008, 09:57 AM
  4. x10 HOST LEADING FREE HOST
    By BABAHENRO in forum Introductions
    Replies: 2
    Last Post: 11-30-2007, 07:53 PM
  5. Can't Host
    By manzoor in forum Free Hosting
    Replies: 1
    Last Post: 09-17-2007, 12:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers