The installed MySQL does not have a data folder, but it can be used normally. Do you have any of them? How can I see the data folder? If there is no data folder, where should I store my database files? I did not find the entire computer.
How can this problem be solved?
========================================================== ================
You can viewMySQLFile directoryMy. iniFile, similar
Datadir= "D:/beeagle/program files/MySQL Server 5.0/data/" this path is the MySQL DATA DIRECTORY
The default value is "C: \ Documents ents and Settings \ All Users \ Application Data \ mysql \ MySQL Server 5.1 \ data \"
Note: The application data folder is hidden !!!
You can modify the above configuration to put the data folder where you want to put it.
--- The modification method is as follows:
1.Stop mysql. In the command window, enter and run:Net stop MySQLYou can;
2.Cut the data folder in "C: \ Documents ents and Settings \ All Users \ Application Data \ mysql \ MySQL Server 5.1 \ data \" to the destination. I put it in the "D: \ PHP \ mysql \ MySQL Server 5.1" Directory (with MySQL), and put the directory "C: \ Documents and Settings \ All Users \ Application Data \ mysql \ MySQL Server 5.1 \ "are deleted.
3.ModifyMy. iniFile, putDatadirChange to datadir = "D: \ PHP \ mysql \ MySQL Server 5.1 \ data \"
4.Start MySQL and enter and run in the Command window:Net start MySQLYou can;
5.After the modification is completed, you can copy the database appended object to it.