标签:tab root adb show variable 创建 ons ble one
visible > mysql -uroot -p
visible > mysqladmin -uroot password "**"
visible > mysql -uroot -p
MariaDB > GRANT ALL PRIVILEGES ON *.* TO {账户名}@"{ip}" IDENTIFIED BY "***" WITH GRANT OPTION;
MariaDB > flush privileges;
visible > mysql -uroot -p
MariaDB > CREATE DATABASE db_name DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
visible > mysql -uidcv -p
mariadb > use tbs_system_db
mariadb > set names utf8;
mariadb > source /webapp/**.sql
visible > mysql -uroot -p
MariaDB [(none)]> show databases; //查看数据库
MariaDB [(none)]> drop database ***; //删除数据库
MariaDB [(none)]> show variables like ‘character_set%‘; //查看数据库的字符设置
//查看连接进程
SHOW FULL PROCESSLIST
标签:tab root adb show variable 创建 ons ble one
原文地址:https://www.cnblogs.com/xxjs/p/12069400.html