It seems as though mysql has already been installed.
|
The directory /var/lib/mysql has been found. For the best results, its recommended that this be deleted.
|
All database data will be lost if you delete it
|
|
Do you want to delete it? (y is recommended)? (y,n) : y
|
Installing MariaDB
|
warning: /usr/local/directadmin/scripts/packages/MariaDB-5.5.63-centos73-x86_64-server.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
|
Preparing... ################################# [100%]
|
Updating / installing...
|
1:MariaDB-server-5.5.63-1.el7.cento################################# [100%]
|
190228 19:45:41 [Note] /usr/sbin/mysqld (mysqld 5.5.63-MariaDB) starting as process 15065 ...
|
190228 19:45:42 [Note] /usr/sbin/mysqld (mysqld 5.5.63-MariaDB) starting as process 15073 ...
|
|
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
|
To do so, start the server, then issue the following commands:
|
|
'/usr/sbin/mysqladmin' -u root password 'new-password'
|
'/usr/sbin/mysqladmin' -u root -h vps40.lithost.lt password 'new-password'
|
|
Alternatively you can run:
|
'/usr/sbin/mysql_secure_installation'
|
|
which will also give you the option of removing the test
|
databases and anonymous user created by default. This is
|
strongly recommended for production servers.
|
|
See the MariaDB Knowledgebase at http://mariadb.com/kb or the
|
MySQL manual for more instructions.
|
|
Please report any problems at http://mariadb.org/jira
|
|
The latest information about MariaDB is available at http://mariadb.org/.
|
You can find additional information about the MySQL part at:
|
http://dev.mysql.com
|
Consider joining MariaDB's strong and vibrant community:
|
https://mariadb.org/get-involved/
|
|
Failed to resolve typeattributeset statement at /etc/selinux/targeted/tmp/modules/400/mariadb/cil:1
|
/usr/sbin/semodule: Failed!
|
warning: /usr/local/directadmin/scripts/packages/MariaDB-5.5.63-centos73-x86_64-client.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
|
Preparing... ################################# [100%]
|
Updating / installing...
|
1:MariaDB-client-5.5.63-1.el7.cento################################# [100%]
|
warning: /usr/local/directadmin/scripts/packages/MariaDB-5.5.63-centos73-x86_64-devel.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
|
Preparing... ################################# [100%]
|
Updating / installing...
|
1:MariaDB-devel-5.5.63-1.el7.centos################################# [100%]
|
warning: /usr/local/directadmin/scripts/packages/MariaDB-5.5.63-centos73-x86_64-shared.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
|
Preparing... ################################# [100%]
|
Updating / installing...
|
1:MariaDB-shared-5.5.63-1.el7.cento################################# [100%]
|
warning: /usr/local/directadmin/scripts/packages/MariaDB-5.5.63-centos73-x86_64-common.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
|
Preparing... ################################# [100%]
|
Updating / installing...
|
1:MariaDB-common-5.5.63-1.el7.cento################################# [100%]
|
warning: /usr/local/directadmin/scripts/packages/MariaDB-5.5.63-centos73-x86_64-compat.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
|
Preparing... ################################# [100%]
|
Updating / installing...
|
1:MariaDB-compat-5.5.63-1.el7.cento################################# [100%]
|
usermod: no changes
|
Job for mysqld.service failed because a timeout was exceeded. See "systemctl status mysqld.service" and "journalctl -xe" for details.
|
● mysqld.service - MySQL database server
|
Loaded: loaded (/etc/systemd/system/mysqld.service; enabled; vendor preset: disabled)
|
Active: failed (Result: timeout) since Kt 2019-02-28 19:50:48 EET; 8ms ago
|
Process: 15109 ExecStart=/usr/bin/mysqld_safe --basedir=/usr (code=exited, status=0/SUCCESS)
|
Main PID: 15109 (code=exited, status=0/SUCCESS)
|
|
Vas 28 19:45:47 vps40.lithost.lt systemd[1]: Starting MySQL database server...
|
Vas 28 19:45:47 vps40.lithost.lt mysqld_safe[15109]: 190228 19:45:47 mysqld_safe Logging to '/var/lib/mysql/vps40.lithost.lt.err'.
|
Vas 28 19:45:47 vps40.lithost.lt mysqld_safe[15109]: 190228 19:45:47 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
|
Vas 28 19:50:47 vps40.lithost.lt systemd[1]: mysqld.service start-post operation timed out. Stopping.
|
Vas 28 19:50:48 vps40.lithost.lt systemd[1]: Failed to start MySQL database server.
|
Vas 28 19:50:48 vps40.lithost.lt systemd[1]: Unit mysqld.service entered failed state.
|
Vas 28 19:50:48 vps40.lithost.lt systemd[1]: mysqld.service failed.
|
Waiting for mysqld to start....
|
Setting MySQL Root Password...
|
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
|
Setting DirectAdmin user and password...
|
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
|
Securing installation...
|
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
|