1,链接mysql命令:mysql-hlocalhost-uroot-p在PHP里mysql_connect('127.0.0.1','root','root');2,查看所有库:showdatabases;3,先选一个库:use库名4,查看库下面的表:showtables;5,建表:createtablely(idintauto_increme...