1.在运行中输入CMD,确定,进入文本方式. 2.输入mysql -h localhost -u root -p 回车,使用ROOT用户登录. 3.输入use mysql; 显示Database changed,选择MYSQL系统库.4.假定我们现在增加一个'goldeye2000'用户,密码为'1234567',让其能够从外部访问MYSQL.输入 grant all on * to 'goldeye2000' identified by '1234567'; FLUSH PRIVILEGES
1.首先找到config文件夹目录下的 index.js文件 // Various Dev Server settings //host: 'localhost' //将localhost进行替换成 0.0.0.0 host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free on