[root@localhost ed]# service myseld start
Redirecting to /bin/systemctl start myseld.service
Failed to start myseld.service: Unit myseld.service not found.
I found this web page that has instructions.
Well, first I had to install a package!
yum install mysql-server
I had a hard time from here, but finally this command worked:
[root@localhost ed]# service mariadb start
Redirecting to /bin/systemctl start mariadb.service
The I could do:
The I could do:
[root@localhost ed]# mysqladmin -u root password ****
I can also connect to the server:
[root@localhost ed]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 10.1.17-MariaDB MariaDB Server
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
In order to get the database server to start every time, I tried:
systemctl enable mariadb.service
I can also connect to the server:
[root@localhost ed]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 10.1.17-MariaDB MariaDB Server
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
In order to get the database server to start every time, I tried:
systemctl enable mariadb.service
No comments:
Post a Comment