How to get mysql database hostname?

Discussion in 'Free Hosting' started by Rapala, May 13, 2010.

Thread Status:
Not open for further replies.
  1. Rapala

    Rapala New Member

    I want to make a program which must use my mysql database. How can i get mysql database hostname?
    if i write my hostname, program cant connect to database :(
  2. carl6969

    carl6969 Community Support Team Community Support

    Hostname
    MYSQL database server is localhost
  3. Gouri

    Gouri Community Paragon Community Support

    The database host is localhost.

    If you are trying to connect to mysql from outside. For security reasons remote mysql is disabled so you can't connect from outside. But the scripts on your hosting account can connect to database using localhost as dbhost
    Last edited: May 13, 2010
  4. Rapala

    Rapala New Member

    localhost? i should use in program localhost or my registered idealpost.x10hosting.com?
  5. Rapala

    Rapala New Member

    How to enable remote mysql?
  6. calistoy

    calistoy Free Support Volunteer Community Support

    Not possible. It's disabled for security reasons.
  7. Rapala

    Rapala New Member

    LOL? It meance that i cant use my program with this hosting?!
  8. Anna

    Anna I am just me Staff Member

    if the program is located on our servers you can use it, in which case the program would be able to connect using localhost.

    If the program is located on your computer, no it will not be possible to use it as you can not connect to the mysql server from an IP address outside of our network.
  9. Rapala

    Rapala New Member

    It located in my PC, but i saw 'Remote mysql' option in cPanel. Does it work?
  10. vishal

    vishal -::-X10 Guru-::- Community Support

    No ,its disabled on free hosting
    Last edited: May 13, 2010
  11. Rapala

    Rapala New Member

    Oh **** ><
Thread Status:
Not open for further replies.

Share This Page