Will not config password if older version Mysql is/was installed #1

Closed
opened 2020-07-17 15:13:32 +02:00 by bprieshof · 1 comment
bprieshof commented 2020-07-17 15:13:32 +02:00 (Migrated from 192.168.2.138:3000)

if for example mysql V5.4 was installed on a system and the srcipt installes 8.0 it wil not set the password of the Mysql Root user

if for example mysql V5.4 was installed on a system and the srcipt installes 8.0 it wil not set the password of the Mysql Root user
bprieshof commented 2020-07-17 15:30:25 +02:00 (Migrated from 192.168.2.138:3000)

Solved by purgeing mysql server 5.7

#Remove databases after purge
debconf-set-selections <<< "mysql-server-5.7 mysql-server-5.7/postrm_remove_databases select true"
# purge mysql server 5.7
apt purge mysql-server-5.7

Solved by purgeing mysql server 5.7 ``` #Remove databases after purge debconf-set-selections <<< "mysql-server-5.7 mysql-server-5.7/postrm_remove_databases select true" # purge mysql server 5.7 apt purge mysql-server-5.7 ```
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Work_Archive/VPS-scripts_MySQL#1