mysql connection

Hi, I hope you are well, I have a question regarding the connection with mysql,I perform all the procedure shown in https://www.traccar.org/mysql/ and apparently everything works correctly but I can not find the database files, the .sql files, I tried to connect to http://localhost:3306 without success, and also localhost/phpmyadmin and I could not connect, I checked in the opt/traccar/data folder and there are only a couple of files with extension .db but I suppose that are of the h2 database. How can I find the sql files? thank you in advance

Slawek5 years ago

grep -r datadir /etc/mysql/

Hi, thanks for your prompt response,I tried the command that you provided me, and that gives me the path /var/lib/mysql/ but i cannot access to this folder, it appears to me: Directory /var/lib/mysql: permission denied. How can I give it permissions to access that folder? Is there another way to access to the database from phpmyadmin for example? thank you

Slawek5 years ago

use google search

/var/lib/mysql: permission denied

phpmyadmin administration