MySQL常用命令

#登陆指定用户、密码、IP、端口、逻辑库 mysql -utest1 -ptest1 -h10.24.1.65 -P3306 -DTESTDB1 #创建表,同时指定好列名和属性 create table testtable ( id int(8),name char(8)); #给表中插入数据 insert into testtable values("1","liuxw"); #查询表 sele
相关文章
相关标签/搜索