In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to deal with the problem of no mysql configuration file under Linux mysql installation / etc. I hope I can add and update some knowledge to you. If you have any other questions you need to know, you can continue to follow my updated article in industry information.
Linux mysql installation failed to start / there is no mysql configuration file under etc
Mysql cannot be started, / var/run/mysqld/mysqld.sock or / temple/mysqld.sock cannot be found
You need to confirm and manually install the following packages:
Libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
Libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client-5.5
Mysql-client-core-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5
Mysql-cmmon this package is the configuration information under the configuration / etc/mysql/
Mysql could not start, / var/run/mysqld/mysqld.sock could not find:
It may also be in the configuration file / etc/mysql/my.cnf:
Add modifications:
# Remember to edit / etc/mysql/debian.cnf when changing the socket location.
[client]
Port = 3306
Socket = / var/run/mysqld/mysqld.sock
Mysqld.sock will be generated automatically.
: ~ $sudo apt-get install mysql-client-5.5 mysql-server-5.5
Reading package list. Complete
Analyzing dependency tree of software package
Reading status information. Complete
The following additional packages will be installed:
Libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
Libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client-core-5.5
Mysql-common mysql-server-core-5.5
Recommended packages to install:
Libipc-sharedcache-perl tinyca mailx
The following [new] packages will be installed [key]:
Libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
Libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client-5.5
Mysql-client-core-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5
0 software packages have been upgraded, 12 new packages have been installed, 0 packages have to be uninstalled, and 0 packages have not been upgraded
Class.
Read the above about Linux mysql installation can not start / etc no mysql configuration file problem handling, I hope it can bring some help to everyone in practical application. Due to the limited space in this article, it is inevitable that there will be deficiencies and need to be supplemented. If you need more professional answers, you can contact us on the official website for 24-hour pre-sales and after-sales to help you answer questions at any time.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.