数据库(建议用MariaDB,兼容mysql)
安装
sudo apt install libmariadbclient-dev libssl-dev
sudo apt install mariadb-server mariadb-client
sudo service mysql start
注意,安装好mariadb以后如果遇到到如下报错:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
执行下面的命令解决:
sudo service mysql start
|
|
|
|
|
版权说明:论坛帖子主题均由合作第三方提供并上传,若内容存在侵权,请进行举报