6 replies
Firstly I'd like to say...great forum, its all really inspiring and as a new Internet marketer I'm pretty glad i found out about the warrior forum.

Secondly...why is there no search function? (my only problem as im sure someone has probably searched for what im about to ask for!) unless im just not seeing it?

Ok so my question...finally got down to choosing a niche which i think will convert and has low competition etc etc...im just trying to set up word press and having problems with it? I get a database error and it just comes up on the screen saying
Error establishing a database connection


(forive the font size its a direct copy and paste ha ha)

now my guess is that my problem lies in the wp-config.php file where it asks:

/** MySQL hostname */
define('DB_HOST', 'not sure what to put in here');

im currently hosted with hostgator which is doin me fine so far! just having problems with this...help anyone??

if there is a website that specifically helps out with hostgator and wordpress that would be great...

Much appreciated y'all!

Matt J
#problems #wordpress
  • Profile picture of the author getsmartt
    If you are using Hostgator, delete your wordpress folder. Go to cpanel...Fantastico and use the wizard there to install wordpress, it will set your database and everything up for you.
    Signature

    Was mich nicht umbringt, macht mich stärker

    {{ DiscussionBoard.errors[2991256].message }}
  • Profile picture of the author alchemy
    Hi Matt

    Host should be "localhost"

    But you can use the Fantastico feature in cPanel to install WordPress automatically on Hostgator hosts - it avoids all these issues

    Alan
    {{ DiscussionBoard.errors[2991268].message }}
  • Profile picture of the author Sour
    Chances are you want to keep it as "localhost". Also, there is a search function. It's in that red toolbar up top.
    {{ DiscussionBoard.errors[2991287].message }}
    • Profile picture of the author cleanboy
      thanks guys!! much appreciated with the quick response and all!
      {{ DiscussionBoard.errors[2991320].message }}
      • {{ DiscussionBoard.errors[2991432].message }}
        • Profile picture of the author Jurrie
          a few questions ?

          did you upload the WP script through FTP ?
          if yes : did you set up a database?
          if no do the following :
          go to your hosting control panel : if it is cpanel , go to the database section and pick mysql database :
          then create a new database and name it myblog ( example )
          next thing you do is scroll down a little and create a user ( pick a name and a password and select all privileges )
          Then you need to add the user to the database .
          once you did these steps, you database is ready to be used in your wp config file :

          the ip for the database is usually localhost
          at the name you put your created database name ( usually in this format :
          hostingusername_databasename )
          at the user you put the created username ( format : hostingusername_databaseusername)
          at the password you just put the password you entered when creating the database.
          save your configfile and upload it

          your wp should be working

          as someone above me mentioned , if you have cpanel , chances are fantastico is installed and you can use a oneclick wp install that sets it up all for you automatic

          phewww.. i hope my ranting helps you, lol , if not, drop me a line, i'll help you , lol

          regards

          Jurrie
          {{ DiscussionBoard.errors[2991489].message }}

Trending Topics