Good morning Muhammad,When I called the above mariadb worked as shown below so the problem definitely in my mariadb.service file
I have checked and I am using your mariadb.service file. For some reason, mariadb is failing to start. We need to determine if the issue is coming from systemd or something in MariaDB datadir.
To start it without systemd, run:
/opt/mariadb/bin/mysqld --defaults-file=/opt/mariadb-data/my.cnf &
# /opt/mariadb/bin/mysqladmin --defaults-file=/opt/mariadb-data/my.cnf -uroot -p versionThe below should work:/opt/mariadb/bin/mysqladmin --defaults-file=/opt/mariadb-data/my.cnf -uroot -p version
/opt/mariadb/bin/mysqladmin --defaults-file=/opt/mariadb-data/my.cnf -uroot -p shutdown
# /opt/mariadb/bin/mysqladmin
--defaults-file=/opt/mariadb-data/my.cnf -uroot -p shutdown
Enter password:
/opt/mariadb/bin/mysqladmin: connect to server at 'localhost'
failed
error: 'Access denied for user 'root'@'localhost' (using password:
YES)'
Strangely!!!
I passed the correct password of Ubuntu's root user!
-- Best Regards, Muhammad Bashir Al-Noimi Skype+Telegram+GMail: mbnoimi