|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hie,
Please tell me what I am doing wrong with my connection to the server. $DBHost="";->IP address e.g 205.150.253.140 $DBUser="";->Username e.g test $DBPass="";->Password e.g testmail function Connect () { global $DBHost,$DBUser,$DBPass; } I get ; Warning: MySQL Connection Failed: Can't connect to MySQL server on ------------------ pro |
|
#2
|
||||
|
||||
|
The variables have to go inside the MYSQL_CONNECT(); bracketes. Like so:
MYSQL_CONNECT("205.150.253.140", "test", "testmail"); [This message has been edited by alexgreg (edited August 26, 2000).] |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Connection to Mysql Server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|