随笔分类 -  MySql

摘要:一、安装 MySQL首先来进行 MySQL 的安装。打开超级终端,输入:[root@localhost ~]# yum install mysql mysql-server安装完毕,让 MySQL 能够随系统自动启动:[root@localhost ~]# chkconfig --levels 235 mysqld on[root@localhost ~]# /etc/init.d/mysqld start设置 MySQL 数据 root 账户的密码:[root@localhost ~]# mysql_secure_installation当出现如下提示时候直接按回车:Enter curren 阅读全文
posted @ 2013-06-26 21:24 鑫鑫爸爸 阅读(223) 评论(0) 推荐(0)
摘要:打开mysql console控制台,光标显示 mysql>状态,输入 source file full path。e.x. mysql> source C:\test.sql 阅读全文
posted @ 2012-10-02 13:11 鑫鑫爸爸 阅读(199) 评论(0) 推荐(0)