Article Directory
url: cloud hosting open port security group tutorials
Ali cloud of Tencent, Huawei
(2020-1-10 23:52:22)
the ok (2020-1-10 23:58:26)
url: Learn oneinstack mirror development environment
Browser to access the public network ip, successfully entered the page.
(2020-1-11 0:00:42)
Database operations. Change Password
[root@ ~]# cd /root/oneinstack
[root@ oneinstack]# ls
addons.sh config move_auto_fdisk.sh src vhost.sh
backup_setup.sh include optimize.sh tools
backup.sh init.d options.conf uninstall.sh
change_jdk_version.sh install.log pureftpd_vhost.sh upgrade.sh
change_php_version.sh install.sh reset_db_root_password.sh versions.txt
[root@ oneinstack]# grep dbrootpwd options.conf
dbrootpwd='1EORgeJl'
[root@ oneinstack]# ./reset_db_root_password.sh
[root@ oneinstack]# mysql -uroot -p
MySQL [(none)]> create database gwdsss;
Query OK, 1 row affected (0.00 sec)
MySQL [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| gwdsss |
| mysql |
| performance_schema |
+--------------------+
4 rows in set (0.00 sec)
MySQL [(none)]> exit
Bye
Web Hosting?
(2020-1-11 0:18:30)