Sharing Kodi library

Sigh. Its always a bad sign when I fail on step 1…

I downloaded and installed mysql but when I try:

sudo /usr/local/mysql/bin/mysql and enter my password I get:

jbuccino@Joes-2019-MBP Downloads % sudo /usr/local/mysql/bin/mysql
Password:
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)
jbuccino@Joes-2019-MBP Downloads %

Does anyone have any suggestions? Thanks.

2 posts were merged into an existing topic: Sharing Kodi database, thumbnails and settings?

If you installed MySQL or MariaDB correctly, you should not have to specify the full path to the client (mysql).

I suggest you uninstall whatever you did, then do the following:

sudo apt-get update
sudo apt-get install mariadb-server
sudo mysql_secure_installation

The last command will allow you to set a password for the root@localhost user.