title: How to open remote mysql database on windows from command prompt
body: <p>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</p>
  
  <p>Problem:
  I need to access the database on windows using mysql from CMD</p>
  
  <p>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></p>
  
  <p>I can not display the table on \\192.168.1.101\mysql\food\ because is not the default folder for mysql</p>
  
  <p>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</p>