Environment: I have a database on CentOS The folder where it is saved is shared using SAMBA Windows have access to the files at \\192.168.1.101\mysql\food\ MySQL-server is running on both systems
Problem: I need to access the database on windows using mysql from CMD
Extra info: I open mysql on CMD by running: C:\Program Files\MySQL\MySQL Server 5.6\bin>mysql -h localhost -u root -p mysql>
I can not display the table on \\192.168.1.101\mysql\food\ because is not the default folder for mysql
Question: how can i change the default folder on mysql-windows to open my database? do I need something else to display the database? like add a user to mysql-server on centos and grant access
mysqlcommand line client? The location of the actual data files is completely irrelevant for this question.