摘要:
1.新建内容 vim /etc/rc.local 写入以下内容 #!/bin/bash # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the scrip 阅读全文
摘要:
由于项目需要新建一个账户,需要创建一个只读账户,因为root的权限很高比较危险,所以需要用非root权限的来进行操作 create user reader@localhost identified by 'Dt@2020'; flush privileges; grant select on 数据库 阅读全文