MySQL 5.1 架构安装程序
我需要为 MySQL 5.1 数据库制作一个安装程序,但对于安装程序我完全是个菜鸟。
我一直在研究 NSIS 并学到了一些东西,但我真的不知道如何使用它来执行脚本。
有人有在多台计算机上安装数据库架构的经验吗?
谢谢
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我需要为 MySQL 5.1 数据库制作一个安装程序,但对于安装程序我完全是个菜鸟。
我一直在研究 NSIS 并学到了一些东西,但我真的不知道如何使用它来执行脚本。
有人有在多台计算机上安装数据库架构的经验吗?
谢谢
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
所以我没有时间弄清楚,但我制作了一个执行 mysql 脚本的批处理文件
http://dev.mysql.com/doc/refman/5.0/en/batch-mode.html
所以批处理文件有这个
唯一的问题是必须设置mysql默认为环境变量路径。
要取消脚本执行,您只需在提示时不写密码即可,
希望这对其他人有帮助。
So I didn't have time to figure it out but I made a batch file that executes a mysql script
http://dev.mysql.com/doc/refman/5.0/en/batch-mode.html
so batch file had this
The only problem was that mysql had to be set as enviroment variable path by default.
To cancel script execution you just dont write a password when promped
hope this helps someone out there.