使用linux deploy踩过的坑

使用linux deploy踩过的坑,第1张

1. 以为小米开发版已root可用,但卡在mounting the container上,得知小米并非完整版,需要进一步root

2. adb命令需要最新版才能使用disabel-verity

3. 如果发现无法正常安装rwrp的recovery用img,提示remote 什么的size too large,并不是别的原因,只是因为你找错了适配于你的机型的包。

4. 如果发现supersu无法正常显示图标,要安装旧版本supersu。文件名中包含SR的都是测试版。要用stabel稳定版

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://54852.com/yw/8787563.html

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

发表评论

登录后才能评论

评论列表(0条)

    保存