首先要确保数据库存在,如果不存在则创建 方法1 source 很智能,很方便,很快捷. # mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 54467 Server version: 5.6.36-log Source distribution Copyright (c) 2000, 2018, Oracle a…