e.执行以下命令,退出MySQL数据库。 exit; f.执行以下命令,并按照回显提示信息进行操作,加固MySQL。 mysql_secure_installation Securing the MySQL server deployment. Enter password for user root: #输入步骤4中设置的root用户密码 The 'validate_password' component is installed on the server.
本文为您介绍如何使用查询结果创建数据表。 teledb=# insert into t values(1,'teledb'); INSERT 0 1 teledb=# create table t_as as select * from t; INSERT 0 1 teledb=# select * from t_as; id | mc ----+---------- 1 | teledb (1 row)
本文为您介绍如何使用查询结果创建数据表。 teledb=# insert into t values(1,'teledb'); INSERT 0 1 teledb=# create table t_as as select * from t; INSERT 0 1 teledb=# select * from t_as; id | mc ----+---------- 1 | teledb (1 row)