简体   繁体   中英

There is no my.ini file in mysql5.6 installed folder

How to add that file. For this reason I can't run the mysql. There is a error called

"ERROR 2013 (HY000): Lost connection to MySQL server during query".

I had a similar problem once. What my colleague did was, he copied the same file from his machine to mine and it worked !

PS: I know its not a proper solution, but see if it works and saves some time for u

I heard In windows my.ini sometimes name as my.cnf

but find the my.ini/my.cnf file on your windows PC follow below steps.

goto services,find entry like 'MySQL55', right click on it ,select properties,you can see like "C:/Program Files/MySQL/MySQL Server 5.5/bin\\mysqld" --defaults-file="C:\\ProgramData\\MySQL\\MySQL Server 5.5\\my.ini" MySQL55

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM