I am unable to connect mysql with joomla, please help me

Discussion in 'Joomla' started by brucelee, Jan 17, 2008.

  1. #1
    hello,
    all of you please help me.
    i reached to 4 step of joomla installtion, but can't cross
    4. step (database)

    what is the problem, i don't know. please tell me what should i do.

    It shows an error, could not connect mysql database.
    please help me if somebody can. I am trying it since 2 weeks, but no solution found.

    thanks in advance.
     
    brucelee, Jan 17, 2008 IP
  2. kaung

    kaung Twitter @KaungKo

    Messages:
    4,040
    Likes Received:
    187
    Best Answers:
    0
    Trophy Points:
    155
    #2
    make sure you put the correct database localhost and username and database name.

    Dpeending on your hosting provider you may have different ones.
    Example:
    godaddy
    localhost: mysql.hostnam | username: name | database name: name

    BUT

    normal cpanel
    localhost: localhost | username: loginname_name | database name: loginname_name

    you may also wish to post here
    http://forums.digitalpoint.com/forumdisplay.php?f=15

    or if you feel all is correct, go for joomla support itself.
     
    kaung, Jan 17, 2008 IP
  3. brucelee

    brucelee Active Member

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    88
    #3
    thanks,
    could you please tell me. is there any need to assign any ODBC connection for mysql.
    as we do for access or sql server.
     
    brucelee, Jan 17, 2008 IP
  4. tnt-tek

    tnt-tek Peon

    Messages:
    90
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sounds like you are having a problem specifying the mysql hostname. Are you locally hosted or have you uploaded joomla to a webhost? Have you created a database for the joomla installation? Joomla doesn't create the database itself so you will need to have created the empty db on your mysql server prior to installation.

    The real answer is it depends on where your installing Joomla and how much of the prerequisite work you have done.
     
    tnt-tek, Jan 17, 2008 IP
  5. brucelee

    brucelee Active Member

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    88
    #5
    i perform every task needed before installation, but still not works. i think, there is some problem with my host. I also contact them, but they say everthing is right. and gave a ip address and said use this as host name. can a no. someting like "69.50.148.204" can be used instead of host name.
     
    brucelee, Jan 17, 2008 IP
  6. tnt-tek

    tnt-tek Peon

    Messages:
    90
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    if the ip is the actual address of the mysql server and the database you have specified in present on that system then you can use that. Typically in a secure environment you wouldn't be using routable ip's to connect to the database server.
     
    tnt-tek, Jan 18, 2008 IP