mysql二進位安裝的問題

來源:互聯網
上載者:User

標籤:without   server   二進位   mysql   

二進位安裝後,啟動時出現問題(mysql安裝在/application/msyql下):

[[email protected] bin]# /etc/init.d/mysqld start
Starting MySQL.170320 22:21:51 mysqld_safe The file /usr/local/mysql/bin/mysqld
does not exist or is not executable. Please cd to the mysql installation
directory and restart this script from there as follows:
./bin/mysqld_safe&
See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more information
 ERROR! The server quit without updating PID file (/application/mysql/data/135.pid).



解決辦法和思路:

首先是按照錯誤的提示操作,嚴格的執行./bin/mysqld_safe&,之後可以啟動,啟動的進行如下:

mysql      4389   4243  2 22:23 pts/0    00:00:00 ./bin/mysqld --basedir=/application/mysql --datadir=/application/mysql/data --plugin-dir=/application/mysql/lib/plugin --user=mysql --log-error=/application/mysql/data/135.err --pid-file=/application/mysql/data/135.pid


可以看出用/etc/init.d/mysqld啟動,之所以出現如上的錯誤,還是設定檔的問題。



本文出自 “12086733” 部落格,請務必保留此出處http://12096733.blog.51cto.com/12086733/1908600

mysql二進位安裝的問題

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.