jansterenborg Posted June 5, 2015 Share Posted June 5, 2015 Hello,my website http://vcr.heliohost.org/ is to test whether I can read data from a MySQL databasealso on the servername database is vcjan_phpthere are two rows of data in the data basethere is a user called: larry (vcrjan_larry)password: larry20152 columns: name and emailI try with PHP scrips to make the connectionthe script is visible on the siteperhaps I overlooked somethingthank you Quote Link to comment Share on other sites More sharing options...
jansterenborg Posted June 6, 2015 Author Share Posted June 6, 2015 the problem lies in the mysql server address i used 'localhost' as a kind of default because in the user panel there is no mention of this addressor I overlooked it. So I hope you add this info on the side. Quote Link to comment Share on other sites More sharing options...
jansterenborg Posted June 7, 2015 Author Share Posted June 7, 2015 Last result± Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/2005): Unknown MySQL server host 'http://vcr.heliohost.org/' (1) in /home1/vcrjan/public_html/db_connect.phpon line 113Connection failed: Unknown MySQL server host 'http://vcr.heliohost.org/' (1) Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/2005): Unknown MySQL server host 'http://vcr.heliohost.org/mysql' (1) in/home1/vcrjan/public_html/db_connect.php on line 113Connection failed: Unknown MySQL server host 'http://vcr.heliohost.org/mysql' (1) Quote Link to comment Share on other sites More sharing options...
jansterenborg Posted June 8, 2015 Author Share Posted June 8, 2015 Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/2005): Unknown MySQL server host 'http://stevie.heliohost.org/' (1) in/home1/vcrjan/public_html/db_connect.php on line 113Connection failed: Unknown MySQL server host 'http://stevie.heliohost.org/' (1) Quote Link to comment Share on other sites More sharing options...
jansterenborg Posted June 8, 2015 Author Share Posted June 8, 2015 its working 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.