Reputation: 4274
I'm using MySQL version 5.7.19 64bit version in my windows machine and I'm trying to change my default port number 3306
.
But when I open my.ini
file following error appears,
cannot find the c:\wamp64\bin\mysql5.7.19\my.ini file
When I click the yes button blank notepad file will be created. In this situation what Is my solution?
PS: I referred Can't find my.ini (mysql 5.7) question but still not able to find a proper answer for this situation
Upvotes: 5
Views: 559
Reputation: 8920
No, the configuration file cannot be blank. I think there's a problem with your wamp setup. However, if you want to edit the mysql conf file, you can see which file is loaded and edit it.
Open a command prompt and change your location to:
C:\wamp64\bin\mysql\mysql5.7.19\bin
Then run the command: mysql --help
. You will see an output similar to below image. Just open that file and edit.
Hope it helps!!
Upvotes: 6