Windows 上の mysql の datadir をネットの場所 \192.168.1.101\something に変更する必要があります。この解決策を試します。
https://dba.stackexchange.com/questions/24403/change-existing-datadir-path-in-mysql
ファイル my.ini を作成します
[mysqld]
datadir=\\192.168.1.101\something
しかし、これは機能していません。
C:\Program Files\MySQL\MySQL Server 5.6\bin>mysql -hlocalhost -u root -p
Enter password: ********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.6.12 MySQL Community Server (GPL)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show variables like 'datadir';
+---------------+-----------------------------------------------------------------------------------+
| Variable_name | Value |
+---------------+-----------------------------------------------------------------------------------+
| datadir | C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.6\data\ |
+---------------+-----------------------------------------------------------------------------------+
Windows でデータ ディレクトリをネットワーク上の場所に変更するにはどうすればよいですか?