mysql linux环境

创建新用户
 create user jnroot@'%' identified by 'Yc@edc#sJn';
创建数据库
 create database price_monitor DEFAULT CHARSET=utf8;
附权限
 grant all on price_monitor.* to jnroot@'%';

原文地址:https://www.cnblogs.com/emily1130/p/7493108.html