Installing Percona/MySQL unattended on Ubuntu

后端 未结 5 1589
闹比i
闹比i 2020-12-28 08:29

I can install MYSQL on Ubuntu without prompts with the code below:

dbpass=\"mydbpassword\"
export DEBIAN_FRONTEND=noninteractive
echo mysql-server-5.1 mysql-         


        
5条回答
  •  隐瞒了意图╮
    2020-12-28 09:22

    you can always do normal installation and then script:

    • killing mysql server
    • starting it with skip-grant-tables
    • adjusting passwords
    • killing the temporarily started mysql without authentication
    • starting regular mysql

提交回复
热议问题