运行下面三条命令,
systemctl start mariadb.service
systemctl enable mariadb.service
mysql_secure_installation
完成后 自定义选择即可
完成后,输入root密码
What is the password of the mysql root user?
[ root password ]
verifying password of user root … done
Enter the name for mysql user of seafile. It would be created if not exists.
[ default “seafile” ]
我运行了“systemctl start mariadb.service”这条命令,但是报错:
Failed to start mariadb.service: Unit mariadb.service failed to load: No such file or directory.
我已经手动安装了一次mariadb了,谢谢!