examples icon indicating copy to clipboard operation
examples copied to clipboard

database/mariadb: Example doesn't work

Open cstangeyanez opened this issue 1 year ago • 0 comments

Example: database/mariadb

When following the instructions in README.md, you reach a point where the example stops working. Specifically in the "Secure our installation" section:

> mysql_secure_installation
...
Enter current password for root (enter for none): <enter>
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Comments

  • What's the point of an example that needs mysql-server installed on host? As a requirement for the host system, In README.md it says:
#### What you need:
 ...
 - MySQL, installed by `sudo apt-get install mysql-server`.
  • Example builds successfully on arm64 and x86_64

cstangeyanez avatar Jun 19 '24 23:06 cstangeyanez