ホームページ  >  記事  >  データベース  >  Ubuntu Server 11.10 安装 MySQL简单配置及图形化工具

Ubuntu Server 11.10 安装 MySQL简单配置及图形化工具

WBOY
WBOYオリジナル
2016-06-07 17:12:131027ブラウズ

Ubuntu Server 11.10 安装 MySQL简单配置及图形化工具

gt@gt-Dell:~$ mysql -h devserver -u dev -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 39
Server version: 5.1.58-1ubuntu1 (Ubuntu)

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>
mysql> USE devcom
\Database changed
mysql> CREATE TABLE devuser (dev_id int, dev_name char(20));
mysql> INSERT INTO devuser (dev_id,dev_name) VALUES(1001,'Pan Black');
Query OK, 1 row affected (0.00 sec)

mysql> SELECT * FROM DEVUSER;
ERROR 1146 (42S02): Table 'devcom.DEVUSER' doesn't exist
mysql> SELECT * FROM devuser;
+--------+-----------+
| dev_id | dev_name  |
+--------+-----------+
|   1001 | Pan Black |
+--------+-----------+
1 row in set (0.00 sec)

mysql>

声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。