[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] mysql
- Subject: Re: [cobalt-users] mysql
- From: "Paul" <paulbentz@xxxxxxxx>
- Date: Wed Apr 11 03:49:06 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>I am having trouble getting php to connect to the database server. I
>know mysql is loaded and php is working. Is there a simple test to
>check that mysql is working? What is it? Where do I load database files
>so that they can be accessed.
Type "mysql" (without quotes) when connected via telnet/ssh.
You should be greeted with something like this:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 3.22.32
Type 'help' for help.
Your prompt should be "mysql>"
Then, type "quit" to exit mysql and go back to the shell.
If all this works, you have mySQL installed.
As a side note, I would HIGHLY RECOMMEND you learn to use mySQL through
command-line (telnet/ssh) before you start using it with PHP. You will
understand things much better, and save yourself much grief.
A good mySQL tutorial is at:
http://www.mysql.com/documentation/mysql/bychapter/
Paul