Jump to content

Recommended Posts

Posted

Hello,

my website http://vcr.heliohost.org/ is to test whether I can read data from a MySQL database

also on the server

name database is vcjan_php

there are two rows of data in the data base

there is a user called: larry (vcrjan_larry)

password: larry2015

2 columns: name and email

I try with PHP scrips to make the connection

the script is visible on the site

perhaps I overlooked something

thank you

Posted

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 address

or I overlooked it. So I hope you add this info on the side.

Posted

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 113

Connection 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 113

Connection failed: Unknown MySQL server host 'http://vcr.heliohost.org/mysql' (1)

Posted

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 113

Connection failed: Unknown MySQL server host 'http://stevie.heliohost.org/' (1)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...