安装MySQL

返回

必须暂时把病毒防护软件解除。


システムのプロバティ=>環境変数(N)=>システム環境変数(S)=>Pathを追加


C:\Program Files\MySQL\MySQL Server 5.0\bin


InnoDB Tablespace Settings C:\Data\ Best Support For Multilingualism c:\mysql>mysql -h localhost -p -u root Enter password: ******** mysql> CREATE DATABASE cookbook; Query OK, 1 row affected (0.02 sec) mysql> CREATE DATABASE cookbook; Query OK, 1 row affected (0.02 sec) mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | cookbook | | mysql | | test | +--------------------+ 4 rows in set (0.00 sec) mysql> GRANT ALL ON cookbook.* TO 'cbuser'@'localhost' IDENTIFIED BY 'cbpass'; Query OK, 0 rows affected (0.11 sec) mysql> FLUSH PRIVILEGES; Query OK, 0 rows affected (0.11 sec) c:\mysql>mysql cookbook -u cbuser -p Enter password: ****** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 6 mysql>
返回