'"3306'" is not a valid integer value
-
Hi,
Yesterday my Laragon failed to start services and displayed this error message:Oh non, Laragon a détecté des Exceptions!
'"3306'" is not a valid integer valueSo I re-installed Laragon from scratch and it did work during a few hours.
But I now have the same error again and I have absolutely no idea why.All I can see in the error message is that 3306 is surrounded with simple quotes AND also double quotes, as if this value is written as a string instead of an integer somewhere. But I can't find where.
Can anyone help, please?
Thanks,
Eric
-
@ericc06 : Can you check?
- The MySQL configuration in Menu > MySQL to see if the port is correct?
- And also check Menu > Laragon > laragon.ini
-
In Menu > MySQL > my.ini I can see this:
[client]
...
port=3306
...
[mysqld]
port=3306And in Menu > Laragon > laragon.ini, nothing related to the port, and only this related to MySQL:
[mysql]
Version=mysql-5.7.24-winx64
Use=-1
-
@ericc06 : The configurations looks good to me.
If you still have the problem, you can try adding another MySQL version:
https://forum.laragon.org/topic/164/tutorial-how-to-add-another-mysql-version
-
Thank you.
So I just installed mysql-5.7.18-winx64 as explained in the tutorial, and chose "mysql-5.7.18-winx64" in the MySQL menu (previously I was running mysql-5.7.24-winx64).
But I still have the issue.When I click the "Start" button in the Laragon window, only the "Apache" line is displayed. Nothing about MySQL.
And when I click Menu > MySQL > Start MySQL, Laragon closes (crashes?) after displaying this error message in a pop-up:Oh non, Laragon a détecté des Exceptions!
'"3306'" is not a valid integer value
-
I also tried this:
In "C:\laragon\data", renaming "mysql" to "mysql.bck".
Restarting Laragon and clicking the "Start all" button.==> In the Laragon window I can read:
Initializing data... C:\laragon\data\mysql
But this message never disappears.
The "mysql" folder is created, with a lot of stuff in it, but MySQL fails to start.Also, if I click the "Database" button in the Laragon window, the "'"3306'" is not a valid integer value" error pop-up immediately appears and Laravel closes when I close the pop-up.
The database settings window does not open anymore.
-
Please check the solution on my last comment:
https://forum.laragon.org/topic/913/oh-no-laragon-detected-exceptions-is-not-a-valid-integer-value