我正在关注有关此错误报告的讨论; https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1728244
解决方案是应用补丁内核; https://people.canonical.com/~khfeng/lp1728244-testing/
现在,我不确定应该使用哪些文件或如何应用它们。有人可以帮忙吗?
我正在关注有关此错误报告的讨论; https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1728244
解决方案是应用补丁内核; https://people.canonical.com/~khfeng/lp1728244-testing/
现在,我不确定应该使用哪些文件或如何应用它们。有人可以帮忙吗?
我正在关注本教程:
到目前为止,我安装了mysql-server mysql-client libmysqlclient-dev,我想告诉 MySQL 创建它的数据库目录结构,它将使用sudo mysql_install_db
.
$ sudo mysql_install_db
[WARNING] mysql_install_db is deprecated. Please consider switching to mysqld --initialize
[ERROR] The data directory needs to be specified.
我认为跑步mysqld --initialize
可以解决问题:
$ mysqld --initialize
mysqld: Can't create directory '/var/lib/mysql/' (Errcode: 17 - File exists)
[Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
[ERROR] Aborting
我如何告诉 MySQL 创建它的数据库目录结构来存储它的信息?