Process: 77248 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS) Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: failed (Result: timeout) since Thu 21:14:44 CDT 1min 24s ago rvice - MariaDB 10.3.22 database server.See "systemctl status rvice" and "journalctl -xe" for systemctl status rvice To: Job for rvice failed because a timeout was exceeded. Jun 04 21:20:03 rafael-VirtualBox mysqld: 21:20:03 0 /usr/sbin/mysqld: ready for connections. Jun 04 21:20:03 rafael-VirtualBox mysqld: 21:20:03 0 Added new Master_info '' to hash table Jun 04 21:20:03 rafael-VirtualBox mysqld: 21:20:03 0 Reading of all Master_info entries succeeded Jun 04 21:20:03 rafael-VirtualBox mysqld: 21:20:03 0 Server socket created on IP: '::'. Jun 04 21:20:03 rafael-VirtualBox mysqld: 21:20:03 0 Plugin 'FEEDBACK' is disabled. Jun 04 21:20:03 rafael-VirtualBox mysqld: 21:20:03 0 InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool Jun 04 21:20:03 rafael-VirtualBox mysqld: 21:20:03 0 InnoDB: Waiting for purge to start #cat > /etc/mysql/my.cnf /etc/mysql/mariadb.cnf I edited /etc/mysql/my.cnf and /etc/mysql/cnf to get past this issue, but stumbled on another. So how do I resolve the ERROR 2002, none of the web info or YouTube videos have Ubuntu 20.4 with MariaDb 10.3
You haven't set the root password yet, the password will be blank,Įnter current password for root (enter for none):ĮRROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) In order to log into MariaDB to secure it, we'll need the current SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
Sudo apt install sudo mysql_secure_installation Seems like change of the commands did the trick: sudo apt install mariadb-server-10.3
Mariadb-server : Depends: mariadb-server-10.3 (>= 1:10.3.22-1ubuntu1) but it is not going to be installedĮ: Unable to correct problems, you have held broken packages. why wouldn't it be installed automatically? The following packages have unmet dependencies: **mariadb-server : Depends: mariadb-server-10.3 (>= 1:10.3.22-1ubuntu1) but it is not going to be installedĮ: Unable to correct problems, you have held broken packages.** The following packages have unmet dependencies: The following information may help to resolve the situation: Requested an impossible situation or if you are using the unstableĭistribution that some required packages have not yet been created Run 'apt list -upgradable' to see sudo apt install mariadb-server I receive the following: sudo apt updateĤ5 packages can be upgraded.
When I try to install MariaDB: sudo apt update Jun 02 15:09:08 rafael-VirtualBox systemd: Started MySQL Community Server. Jun 02 15:08:41 rafael-VirtualBox systemd: Starting MySQL Community Server. Process: 986 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Tue 15:09:08 CDT 2 days ago Other names may be trademarks of their systemctl status mysql Oracle is a registered trademark of Oracle Corporation and/or itsĪffiliates. Applied Devstack for Openstack application