>  기사  >  데이터 베이스  >  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으로 문의하세요.