It's impossible to create anything in Mysql . I always have this message :
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL Server Host 'http' (1) in /home/.sites/137/site197/web/phpform/process3.php on line 265
Could not establish connection to MySQL database with the information provided
What to do ?
Thanks.
Alain
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
provide the correct mysql information! When it asks for the mysql hostname, you're not supposed to put http:// in it.. http is only for web content (hyper text transfer protocol).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Musawir,
Thxs for your quick answer.
I can generate a database-file. But when I want to connect to my host I still have this error.
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL Server Host 'cobalt52.infomaniak.ch/MySQLAdmin/' (1) in /home/.sites/137/site197/web/phpform/process3.php on line 265
Tks and kind regards.
Alain
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
MySQLAdmin is not your server host, it just a program that displays your database info and helps you manage it. Your MySQL server hostname should be something like mysql.mydomain.com . Ask your webmaster or server administrator for this info, don't guess on server hostnames. If the MySQL server is installed on the same machine as your webserver, you can use localhost as your mysql hostname in most cases. Check your config.inc.php in your MySQLAdmin directory and see what server hostname it uses and then use the same for the form generator.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
It's impossible to create anything in Mysql . I always have this message :
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL Server Host 'http' (1) in /home/.sites/137/site197/web/phpform/process3.php on line 265
Could not establish connection to MySQL database with the information provided
What to do ?
Thanks.
Alain
provide the correct mysql information! When it asks for the mysql hostname, you're not supposed to put http:// in it.. http is only for web content (hyper text transfer protocol).
Hi Musawir,
Thxs for your quick answer.
I can generate a database-file. But when I want to connect to my host I still have this error.
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL Server Host 'cobalt52.infomaniak.ch/MySQLAdmin/' (1) in /home/.sites/137/site197/web/phpform/process3.php on line 265
Tks and kind regards.
Alain
MySQLAdmin is not your server host, it just a program that displays your database info and helps you manage it. Your MySQL server hostname should be something like mysql.mydomain.com . Ask your webmaster or server administrator for this info, don't guess on server hostnames. If the MySQL server is installed on the same machine as your webserver, you can use localhost as your mysql hostname in most cases. Check your config.inc.php in your MySQLAdmin directory and see what server hostname it uses and then use the same for the form generator.
Dear Musawir,
Thanks a lot, everyrthing works fine. What a great form you did !
CU
Alain