Problems with war release in linux 1linux mysql startup is displayed differently because of different startup modes www.2cto.com via./mysqld_safe & amp; after ps-ef is started | grepmysql, the following information is displayed: root155371011: 16? 00 :...
Problem with war release in linux 1 linux mysql startup varies depending on the startup method, and the result is www.2cto.com passed. /mysqld_safe & start ps-ef | after grep mysql is started, the following information is displayed: root 15537 1 0? 00:00:00/bin/sh. /mysqld_safe/usr/local/mysql/bin/mysqld -- basedir =/usr/local/mysql -- datadir =/usr/local/mysql/data -- plugin-dir =/usr/ local/mysql/lib/plugin -- user = mysql -- log-error =/usr/local/mysql/data/bogon. err -- pid-file =/usr/local/mysql/data/bogon. pid -- socket =/usr/local/mysql. sock -- port = 3306 and pass. /mysqld -- user = root Force root login only displays root 4998 1 0? 00:00:00./mysqld -- user = linux on the root service network. force the second method to start the service. If it cannot be started with the first method, it will automatically end up after a while. Even if it is started in the second method, it cannot be inserted with the database. The following error occurs: java. SQL. SQLException: null, message from server: "Host 'XXX' is not allowed to connect to this MySQL server" troubleshoot the problem as follows: www.2cto.com first checks whether the database configuration file is correctly configured. If it is correct, continue to check the mysql database in the database on the server and find the user table to view the host. two hosts are the same, but the above error is reported because there is no root. Delete one of the hosts. However, you must restart the service. After a long time, we recorded the error to avoid the next occurrence.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service