【MySQL】ubuntu16.04安装mysql,然后源码编译Qt5.12.4版本的libqsqlmysql.so
生活随笔
收集整理的這篇文章主要介紹了
【MySQL】ubuntu16.04安装mysql,然后源码编译Qt5.12.4版本的libqsqlmysql.so
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
一、Ubuntu16.04.5 安裝 MySQL
1、使用apt命令安裝
sudo apt install mysql-server
安裝過程會提示,推薦設置MySQL的root用戶密碼(注意:這里root不是指ubuntu系統的root)
While not mandatory, it is highly recommended that you set a password for the MySQL administrative "root" user.If this field is left blank, the password will not be changed.Net password for the MySQL "root" user:
2、安全設置
使用mysql_secure_installation配置mysql安全選項
$ sudo mysql_secure_installation Securing the MySQL server deployment.Enter password for user root: VALIDATE PASSWORD PLUGIN can be used to test passwords
and improve security. It checks the strength of password
and allows the
總結
以上是生活随笔為你收集整理的【MySQL】ubuntu16.04安装mysql,然后源码编译Qt5.12.4版本的libqsqlmysql.so的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【OpenCV】正确创建用于保存YUV4
- 下一篇: 【MySQL】缩略语PK NN UQ B