C:\>cd \mysql\bin
C:\mysql\bin\>mysql test
下記が出ると成功
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3 to server version: 4.0.22-nt
Type 'help;' or '\h' for help. Type '\c' to clear the buffer
終わる時は
mysql> quit
DB作成
mysql_query("CREATE DATABASE IF NOT EXISTS ".'データベース名');
テーブル作成
mysql_query("CREATE TABLE IF NOT EXISTS テーブル名 (,,[].....);
#IF NOT EXISTS は存在した場合作成しないというお呪ない?