【精选】window下的MySQL基础知识_0713:25:54create table department ( `id` int not n-CSDN博客

网站介绍:文章浏览阅读222次。一、连接MySQL 格式: mysql -h主机地址 -u用户名 -p用户密码 1、例1:连接到本机上的MYSQL。 创建用户:MariaDB [(none)]> CREATE USER luke@localhost IDENTIFIED BY 'linuxprobe'; 2、例2:连接到远程主机上的MYSQL。假设远程主机的IP为:110.110.110.110,用户名为root,密码为abcd123。则键入以下命令..._0713:25:54create table department ( `id` int not null auto_increment comm