File mysql.sh of Package MySQL
#!/bin/bash # Refresh repository information zypper refresh # Install MySQL server zypper install -y mysql-community-server # Enable MySQL to start on boot and start the MySQL service systemctl enable mysql systemctl start mysql