Note that there are some explanatory texts on larger screens.

plurals
  1. POChange mysql data directory to a network location in windows
    primarykey
    data
    text
    <p>I need to change the datadir of mysql on windows to a net location \192.168.1.101\something I try this solution:</p> <p><a href="https://dba.stackexchange.com/questions/24403/change-existing-datadir-path-in-mysql">https://dba.stackexchange.com/questions/24403/change-existing-datadir-path-in-mysql</a></p> <p>I create the file my.ini</p> <pre><code>[mysqld] datadir=\\192.168.1.101\something </code></pre> <p>but this is not working;</p> <pre><code>C:\Program Files\MySQL\MySQL Server 5.6\bin&gt;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&gt; show variables like 'datadir'; +---------------+-----------------------------------------------------------------------------------+ | Variable_name | Value | +---------------+-----------------------------------------------------------------------------------+ | datadir | C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.6\data\ | +---------------+-----------------------------------------------------------------------------------+ </code></pre> <p>how can i change my data directory to a network location in windows?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload