配置Mysql

使用Linux首次登陆须要把mysql加入环境变量$PATH [root@dl-001 ~]# export PATH=$PATH:/usr/local/mysql/bin/ #说明:此时能够使用命令 # mysql -uroot就能够登陆mysql。可是须要添加到配置文件中重启才会永久生效。配置以下: [root@dl-001 ~]# vim /etc/profile //添加至配置文
相关文章
相关标签/搜索