Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任何人都可以就如何在 mysql 中创建数据库提供任何输入,它应该在运行时创建其数据文件,而不是将其存储在 my.cnf 中指定的默认位置。
有什么办法可以在任何人遇到的mysql中做到这一点。
每次启动服务器时,使用 --datadir 选项指定新的数据目录位置。
关联