After I wrote sudo apt-get update in Terminal for install mysql
error:1 http://obs-master.endlessm-sf.com:82/shared/eos eos3.6 InRelease
Unable to connect to obs-master.endlessm-sf.com:82 (52.25.213.40), connection time is up…
I understand that apt-get is only for read on Endless.
Or I can install mysql without Terminal?In App Center?
So what is rigth way for install mysql in Endless? Thanks!
Short answer: You can’t cause of the way EOS works.
Long answer: You have to run at least 3.6 to have the Toolbox technology available, then create a new container and install MySQL (MariaDB) in it.
toolbox create
toolbox enter
sudo bash
dnf upgrade
dnf install mariadb mariadb-server
This will install the needed components. Then you have to run and configure it:
systemctl start mariadb
mysql_secure_installation
Note that MySQL isn’t available in Toolbox (it’s a Fedora 29 running inside the container), but MariaDB is. Should be no issue tough. Additionally, you need to start MariaDB each time you boot up your host:
toolbox enter
sudo bash
systemctl start mariadb
Thank you for you answer. This comand work:
toolbox create
toolbox enter
sudo bash
dnf upgrade
dnf install mariadb mariadb-server
But after I enter
systemctl start mariadb
in terminal:
“System has not been booted with systemd as init system (PID 1). Can’t operate.
Failed to connect to bus: Host is down”
And after I enter
mysql_secure_installation
in terminal:
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we’ll need the current
password for the root user. If you’ve just installed MariaDB, and
you haven’t set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
And input enter in terminal:
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
My version of Endless 3.6.3!
Can you help me with this problem? Thanks!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.