If you are using PHP, as I know you should use:
mysql_connect to connect to the server, and which will take parameters in different way. Then you should choose your DB using
Here they are:
int mysql_connect(string [hostname [:port] [:/path/to/socket] ] , string [username] , string [password] );
int mysql_select_db(string database_name, int [link_identifier] );
What you were asing, is used at console, but try these using PHP,
O.K I hope this will help.
Main Topics
Browse All Topics





by: kurmanPosted on 2000-06-21 at 20:31:09ID: 3036930
Fordste, can you give more specific details about the way you are connecting to MySQL? Is it perl script, and do you use DBI, or maybe PHP.
Then we can look into it.
Kurman.