Showing posts with label mysql error. Show all posts
Showing posts with label mysql error. Show all posts

Friday, April 1, 2022

MySQL : MySQL80 Service Started and Then Stopped on Windows Server

issue : “The MySQL80 service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.”

solutions: 

my.ini config file get HEX characters added to the beginning of the file. This causes the MySQL service to fail when it tries to start. The solution is to remove these HEX characters and then start the service again.

1. using Notepad++ (must install hex view plugin) open the my.ini file in HEX view

2. remove the HEX character ef bb bf then save the my.ini file

3. try restart the MYSQL80

source : https://madbray.com/mysql80-service-started-and-then-stopped-fixed/

Wednesday, November 23, 2016

MySQL : mysql_connect(): Too many connections

Issue:

mysql_connect(): Too many connections

Solutions:
  1. directly connect to the mySQL server (via localhost), and perform the query: SET GLOBAL max_connections = 1024; to change the connection limit at runtime (no downtime).
  2. make your change permanent, and edit the /etc/mysql/my.cnf (or similar) and add the line max_connections = 1024; line within the [mysqld] section; then restart if you couldn't do the live change.

Source: http://stackoverflow.com/questions/730953/how-to-fix-mysql-connect-too-many-connections

Thursday, April 21, 2016

Monday, September 14, 2015