Linux deploy ubuntu 18.04 arm64 安装笔记

Linux deploy ubuntu 18.04 arm64 安装笔记,第1张

https://github.com/meefik/linuxdeploy/releases

安装或重装备份的系统时,需要重新执行以下命令才能启动mysql

错误信息

本次使用的是参考1里面的教程,安装完会有个错误,但是貌似不影响mysql正常使用。

查到的解决方案是: ERROR: Package mysql-server-5.7 is not configured yet.

解决不用密码也能登录

phpMyAdmin报错

解决 phpMyAdmin 的 “Configuration of pmadb…错误” 问题

应该是正在加密使用中,无法卸载,如果楼主真的要卸载,不想用虚拟盘,可以先关闭系统,这样重新启动后,默认就是没有加载虚拟盘的。

楼主如果对Linux系统感兴趣,想学习更多Linux系统知识,可以百度《Linux就该这么学》,不错的一本Linux入门教程。

1.安装mariadb-server

2.运行mysql_install_db

正常运行完成后可以看到如下:

To start mysqld at boot time you have to copy

support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !

To do so, start the server, then issue the following commands:

'/usr/bin/mysqladmin' -u root password 'new-password'

'/usr/bin/mysqladmin' -u root -h localhost password 'new-password'

Alternatively you can run:

'/usr/bin/mysql_secure_installation'

which will also give you the option of removing the test

databases and anonymous user created by default.  This is

strongly recommended for production servers.

See the MariaDB Knowledgebase at http://mariadb.com/kb or the

MySQL manual for more instructions.

You can start the MariaDB daemon with:

cd '/usr' /usr/bin/mysqld_safe --datadir='/var/lib/mysql'

You can test the MariaDB daemon with mysql-test-run.pl

cd '/usr/mysql-test' perl mysql-test-run.pl

Please report any problems at http://mariadb.org/jira

The latest information about MariaDB is available at http://mariadb.org/.

You can find additional information about the MySQL part at:

http://dev.mysql.com

Consider joining MariaDB's strong and vibrant community:

https://mariadb.org/get-involved/

3. 给mysql用户配置权限

4. 启动mariadb

5. 运行mysql_secure_installation

6. 更改字符集

7. 最后查看字符集

完成。


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/7249373.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-03
下一篇 2023-04-03

发表评论

登录后才能评论

评论列表(0条)

保存