MySQL: how to change the data location -


this question has answer here:

i use mysql 5.2.36 ce. when installed it, software installed

c:\program files (x86)\mysql 

the database location given

d:\abc\mysql 

i hoping change database location to

d:\def\mysql 

any quick way it? use windows 7 pro 64-bit machine.

thanks , regards.

shutdown mysql, move data directory new location, open my.cnf , change value of "datadir" new path.


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -