正在安装 mysql-clients (8.0.11-1)...
正在安装 mysql (8.0.11-1)...
:: You need to initialize the MySQL data directory prior to starting
the service. This can be done with mysqld --initialize command, e.g.:
mysqld --initialize --user=mysql --basedir=/usr --datadir=/var/lib/mysql
:: Additionally you should secure your MySQL installation using
mysql_secure_installation command after starting the mysqld service
dbeaver 安装根据步骤走一般不会出错 如果使用root链接可能提示 Public Key Retrieval is not allowed
解决: 将allowPulicKeyRetrieval 设置为true 或者切换非root用户
安装并初始化MySql
sudo pacman -S mysql
正在安装 mysql-clients (8.0.11-1)...
正在安装 mysql (8.0.11-1)...
:: You need to initialize the MySQL data directory prior to starting
the service. This can be done with mysqld --initialize command, e.g.:
mysqld --initialize --user=mysql --basedir=/usr --datadir=/var/lib/mysql
:: Additionally you should secure your MySQL installation using
mysql_secure_installation command after starting the mysqld service