stefilix Posted August 10, 2012 Share Posted August 10, 2012 I've uploaded yesterday my web files to my domen, and I've created one database in myPHPAdmin, but, I have problem with connecting to database. Does any one knows what is server name or knows where I can check for right one if it's personal, I've been testing some links, for which I thought that could work, but only one took a long load 'ns1.heliohost.org', but after long time of loading nothing really happened, it just pop up the message from a $connect_error. Here are the links I've tried:- ns1.heliohost.org- Shared IP Address- Main Domain <?php$connect_error = 'Sorry, we\'re experiencing connection problems.';mysql_connect('???', 'mysql_username', 'mysql_password') or die ($connect_error);mysql_select_db('lr') or die ($connect_error);?> Best regards,Stefan Quote Link to comment Share on other sites More sharing options...
Byron Posted August 10, 2012 Share Posted August 10, 2012 http://wiki.helionet.org/MySQL_Databases Quote Link to comment Share on other sites More sharing options...
Tjoene Posted August 10, 2012 Share Posted August 10, 2012 You need to use "localhost" to connect to MySQL. Quote Link to comment Share on other sites More sharing options...
stefilix Posted August 10, 2012 Author Share Posted August 10, 2012 However, I've already figured out, I thought all the time it was something else, not just 'localhost' . Best regards Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.