[视频教程] ubuntu系统下安装最新版的MySQL

前端之家收集整理的这篇文章主要介绍了[视频教程] ubuntu系统下安装最新版的MySQL前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

视频地址:

https://www.bilibili.com/video/av69256331/

 

官网文档
https://dev.MysqL.com/doc/MysqL-apt-repo-quick-guide/en/

安装官方的源:
wget https://repo.MysqL.com//MysqL-apt-config_0.8.13-1_all.deb
dpkg -i MysqL-apt-config_0.8.13-1_all.deb
apt-get update
注意看一下是否更新成功,有时候会出现connect time out,多试几次就可以了

apt-get install MysqL-server
安装完成后,官网说直接使用service就可以启动,service MysqL start,但是我这里报找不到这个service启动脚本。
使用MysqLd来启动,直接使用MysqLd命令启动,报错不允许使用root用户执行
[Server] Fatal error: Please read "Security" section of the manual to find out how to run MysqLd as root!

使用MysqL用户执行
MysqLd --user=MysqL &

猜你在找的PHP相关文章