Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: cannot find the c:\wamp64\bin\mysql5.7.19\my.ini file

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

enter image description here

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

like image 880
INDRAJITH Avatar asked Apr 07 '19 14:04

INDRAJITH


1 Answers

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.

enter image description here

Hope it helps!!

like image 163
Nimeshka Srimal Avatar answered Oct 27 '22 11:10

Nimeshka Srimal