frappe_admin@ip-172-31-40-48:~$ mysql -V
mysql Ver 15.1 Distrib 10.4.24-MariaDB, for debian-linux-gnu (aarch64) using readline 5.2
frappe_admin@ip-172-31-40-48:~$
That loks right. It might be good to review the Easy install docs to make sure all the preliminary steps were taken, and see if the logs give any more details.
frappe_admin@ip-172-31-40-48:~$ cat /etc/hosts
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
frappe_admin@ip-172-31-40-48:~$
It doesnt allow to login to mysql
frappe_admin@ip-172-31-40-48:~$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
frappe_admin@ip-172-31-40-48:~$
frappe_admin@ip-172-31-40-48:~$ ps-A | grep mysql or sudo service mysql status
grep: or: No such file or directory
grep: sudo: No such file or directory
grep: service: No such file or directory
grep: mysql: No such file or directory
grep: status: No such file or directory
ps-A: command not found
frappe_admin@ip-172-31-40-48:~$
But cant install mariadb
frappe_admin@ip-172-31-40-48:~$ sudo apt install mariadb-server
[sudo] password for frappe_admin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mariadb-server is already the newest version (1:10.4.24+maria~focal).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
frappe_admin@ip-172-31-40-48:~$
Also,
frappe_admin@ip-172-31-40-48:~$ service mysqld start
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'mysqld.service'.
Multiple identities can be used for authentication:
1. Ubuntu (ubuntu)
2. Vinod Nadar,,, (frappe_admin)
Choose identity to authenticate as (1-2): 2
Password:
==== AUTHENTICATION COMPLETE ===
Failed to start mysqld.service: Unit mysqld.service not found.
frappe_admin@ip-172-31-40-48:~$
Also This,
frappe_admin@ip-172-31-40-48:~$ sudo systemctl start mariadb
Failed to start mariadb.service: Unit mariadb.service not found.
frappe_admin@ip-172-31-40-48:~$ sudo systemctl restart mariadb
Failed to restart mariadb.service: Unit mariadb.service not found.
frappe_admin@ip-172-31-40-48:~$
Just wanted to thank your for your continued assistance