{"id":282700,"date":"2023-09-13T20:06:43","date_gmt":"2023-09-13T12:06:43","guid":{"rendered":"https:\/\/lrxjmw.cn\/rxtazdmxzmml.html"},"modified":"2023-09-13T20:06:43","modified_gmt":"2023-09-13T12:06:43","slug":"rxtazdmxzmml","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/rxtazdmxzmml.html","title":{"rendered":"RedHatEnterpriseLinuxAS3.0\u7cfb\u7edf\u5b89\u88c5\u7684mysql\u5378\u8f7dmysql\u547d\u4ee4"},"content":{"rendered":"

\u95ee\u9898\u7684\u5f62\u6210\uff1a\u5728\u5df2\u6709\u7684RedHatEnterpriseLinux<\/a>AS3.0\u7cfb\u7edf<\/a>\u4e0a\u65e9\u5df2\u8fd0\u884c\u4e86\u4e00\u5957web\u7a0b\u5e8f\uff0c\u4f7f\u7528Mysql4,tomcat41,\u5982\u4eca\u53c8\u8981\u6c42\u5b89\u88c5\u4e00\u5957\u65b0\u7a0b\u5e8f\uff0c\u4ecd\u7136\u4f7f\u7528\u8be5tomcat41,\u4f46\u6570\u636e\u5e93\u53d8\u4e3amysql5\u3002<\/p>\n

\u6ce8\u610f\u4e8b\u9879\uff1a<\/p>\n

\u65b0\u7684\u7a0b\u5e8f\u987b\u8981\u6ce8\u610f\u5b57\u7b26\u96c6\u7684\u95ee\u9898\uff0c<\/p>\n

1)\u5177\u4f53\u6570\u636e\u5e93\u7684\u6743\u9650\u548c\u5206\u7ec4\u95ee\u9898\uff0c<\/p>\n

2)mysql5\u4e0b\u7684\u5177\u4f53\u6570\u636e\u5e93\u4ecewindows\u76f4\u63a5\u62f7\u8d1d\u5230Linux\u4e0b\u4e0d\u7ba1\u7528\u7684\u95ee\u9898\uff0c<\/p>\n

3)\u4ee5\u53camysql5\u987b\u8981\u8bbe\u7f6e\u5bc6\u7801\u7684\u95ee\u9898\uff0c<\/p>\n

4)mysql5\u5728linux\u4e0b\u5bf9\u6570\u636e\u5e93\u5206\u8fa8\u5927\u5c0f\u5199\u7684\u95ee\u9898\u3002<\/p>\n

5)mysql\u5728\u7ec8\u7aef\u6b65\u5165<\/p>\n

mysql><\/p>\n

\u65f6\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u95ee\u9898<\/p>\n

\u636e\u6089\uff0c\u5728\u5177\u4f53\u5b89\u88c5mysql5\u7684\u8fc7\u7a0b\u4e2d\uff0c\u8981\u6ce8\u610f\u5c06mysql5\u7684\u5b89\u88c5\u4f4d\u7f6e\uff08baseDir\uff09\uff0c\u6570\u636e\u5e93\u7684\u5177\u4f53\u50a8\u5b58\u4f4d\u7f6e\uff08dataDir\uff09\uff0c\u7aef\u6807\u8bed\uff08\u6539\u4e3a3307\uff09,\u8fdb\u884c\u66f4\u6539linux\u67e5\u770bpthread\u5e93\u7248\u672c<\/strong>\uff0c\u8fd9\u6837\u5c31\u80fd\u4fdd\u8bc1\u4e24\u4e2a\u4e0d\u540c\u7248\u672c\u7684\u6570\u636e\u5e93\u7684\u540c\u65f6\u8fd0\u884c\u3002<\/p>\n

\u7248\u672c\u53f7\uff1a<\/p>\n

MySQLv4.0.24<\/p>\n

(1)MySQL-server-4.0.24-0.i386.rpm<\/p>\n

(2)MySQL-client-4.0.24-0.i386.rpm<\/p>\n

(3)MySQL-devel-4.0.24-0.i386.rpm<\/p>\n

MySQL5.0.51a<\/p>\n

mysql-5.0.51a.tar.gz<\/p>\n

\u4e0b\u8f7d\u5730\u5740\uff1a\/pub\/MySQL\/Downloads\/MySQL-5.0\/mysql-5.0.51a.tar.gz<\/p>\n

\u5b89\u88c5MySQLv4.0.24<\/p>\n

#rpm-qa|grepsql<\/p>\n

\u67e5\u8be2\u7cfb\u7edf\u662f\u5426\u9ed8\u8ba4\u5b89\u88c5\u4e86mysql\u670d\u52a1\u5668<\/p>\n

\u4e4b\u540e\u5378\u8f7d\u7cfb\u7edf\u9ed8\u8ba4\u5b89\u88c5\u7684mysql<\/p>\n

\u5378\u8f7dmysql\u547d\u4ee4<\/a>\u5982\u4e0b\uff1a<\/p>\n

#rpm-e--nodepsmysql-3.23.58-1<\/p>\n

\u5b89\u88c5MySQL\u670d\u52a1\u7aef\uff1a<\/p>\n

\u600e\u4e48\u67e5\u770b\u542f\u660e\u661f\u8fb0\u7279\u5f81\u5e93\u7248\u672c_linux\u67e5\u770bpthread\u5e93\u7248\u672c_linux\u67e5\u770b\u5e93\u7248\u672c<\/p>\n

#rpm-ivhMySQL-server-4.0.24-0.i386.rpm<\/p>\n

\u6d4b\u8bd5\u670d\u52a1\u7aef\u662f\u5426\u5b89\u88c5\u6210\u529f\uff1a<\/p>\n

#netstat-nat<\/p>\n

\u67e5\u770b\u7aef\u53e33306\u662f\u5426\u6253\u5f00<\/p>\n

\u4e4b\u540e\u5b89\u88c5MySQL\u987e\u5ba2\u7aef<\/p>\n

#rpm-ivhMySQL-client-4.0.24-0.i386.rpm<\/p>\n

\u5b89\u88c5MySQL\u8054\u63a5\u5305\uff1a<\/p>\n

#rpm-ivhMySQL-devel-4.0.24-0.i386.rpm<\/p>\n

\u6b64\u65f6Mysql4\u7684\u5404\u4e2a\u5b89\u88c5\u8def\u5f84\u5982\u4e0b\uff1a<\/p>\n

\u4ee5\u6211\u4eec\u5728Redhat\u4e0b\u5b89\u88c5\u7684MySQl4.0.26\u6570\u636e\u5e93\u4e3a\u4f8b\uff1a<\/p>\n

(\u6ce8\u610f\u4e8b\u9879\uff1arpm\u5305\u4f7f\u7528\u7684\u90fd\u662f\u9ed8\u8ba4\u7684\u8bbe\u7f6e\uff0c\u4e0d\u80fd\u4fee\u6539\uff0c\u4ee5\u4e0b\u5747\u4e3a\u9ed8\u8ba4\u8bbe\u7f6e)<\/p>\n

1.\u914d\u7f6e\u6587\u4ef6\uff1a\/etc\/f<\/p>\n

2.\u6570\u636e\u5e93\u76ee\u5f55\uff1a\/var\/lib\/mysql<\/p>\n

3.\u542f\u52a8\u811a\u672c\uff1a\/etc\/rc.d\/init.d\/mysql<\/p>\n

4.\u7aef\u53e33306<\/p>\n

5..socket\u6587\u4ef6\/tmp\/mysql.socket<\/p>\n

\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<\/p>\n

\u4e0b\u8fb9\u5b89\u88c5MySQL5.0.51a<\/p>\n

\u56e0\u4e3a\u6211\u4eec\u5b89\u88c5\u7684MySQL4.0.26\u7684\u5b89\u88c5\u5305\u7c7b\u578b\u662frpm\u5305\uff0c\u6240\u4ee5\uff0c\u987b\u8981\u4f60\u4eec\u6ce8\u610f\u7684\u662f\uff0c<\/p>\n

\u5b83\u4f7f\u7528\u7684\u90fd\u662f\u9ed8\u8ba4\u7684\u8bbe\u7f6e\uff0c\u5b89\u88c5\u540e\u751f\u6210\u7684\u914d\u7f6e\u6587\u4ef6\u548c\u6570\u636e\u5e93\u76ee\u5f55\u7b49\u7b49\u4e00\u7cfb\u5217\u7684\u914d\u7f6e\u90fd\u662f\u6211\u4eec\u4e0d\u80fd\u6539\u53d8\u7684\u3002<\/p>\n

\u4e3a\u6b64\uff0c\u5047\u5982\u8981\u5728\u540c\u4e00\u5f00\u53d1\u73af\u5883\u4e0b\u5b89\u88c5\u4e24\u4e2a\u6570\u636e\u5e93\u7684\u8bdd\uff0c\u6211\u4eec\u5c31\u5fc5\u987b\u5904\u7406\u4ee5\u4e0b\u8fd9\u79cd\u95ee\u9898\uff1a<\/p>\n

1.\u914d\u7f6e\u6587\u4ef6\u5b89\u88c5\u8def\u5f84\u4e0d\u80fd\u76f8\u540c<\/p>\n

2.\u6570\u636e\u5e93\u76ee\u5f55\u4e0d\u80fd\u76f8\u540c<\/p>\n

3.\u542f\u52a8\u811a\u672c\u4e0d\u80fd\u540c\u540d<\/p>\n

4.\u7aef\u53e3\u4e0d\u80fd\u76f8\u540c<\/p>\n

5..socket\u6587\u4ef6\u7684\u751f\u6210\u8def\u5f84\u4e0d\u80fd\u76f8\u540c<\/p>\n

\u6839\u636e\u524d\u9762\u7684\u5404\u7c7b\u8981\u6c42\uff1amysql5.0.51a.tar.gz\u7684\u6e90\u7801\u5305\u5b89\u88c5\u4f5c\u51fa\u4ee5\u4e0b\u8c03\u6574\uff1a<\/p>\n

--prefix=\/usr\/local\/mysql5###\u6570\u636e\u5e93\u5b89\u88c5\u76ee\u5f55<\/p>\n

--localstatedir=\/var\/lib\/mysql5###\u6570\u636e\u5e93\u50a8\u5b58\u76ee\u5f55<\/p>\n

--with-charset=gbk--with-collation=gbk_chinese_ci--with-extra-charsets=all###\u5b57\u7b26\u96c6gbk\u52a0\u8f7d\u548cgbk_chinese_ci\u52a0\u8f7d\uff0c\u53ef\u5904\u7406\u82f1\u6587\u4e71\u7801\u95ee\u9898<\/p>\n

\u5176\u4ed6\u7684\u8bbe\u7f6e\u662f\u5bf9\u6570\u636e\u5e93\u7684\u4e00\u4e0b\u4f18\u5316\uff0c\u5728\u6b64\u5c31\u4e0d\u518d\u8d58\u8a00\u3002<\/p>\n

\u53c2\u8003\u4e86\u4e00\u4e9bmsyql5\u7684\u5b89\u88c5\u6587\u6863\uff0c\u5728\u8fd9\u513f\u8c22\u8c22\u8bf8\u4f4d\u9ad8\u624b<\/p>\n

mysql-5.0.51a.tar.gz\u89e3\u538b\u540e\u7684\u5b89\u88c5\u89e3\u8bfb\uff1a<\/p>\n

1#cdmysql-5.0.51a<\/p>\n

2#mkdir\/usr\/local\/mysql5<\/p>\n

(\u8fd9\u6b65\u9aa4\u4e2d\u7684\u4f17\u591a\u53c2\u6570\u4e2d\u5d4c\u5165\u5f0flinux\u9a71\u52a8\u7a0b\u5e8f\u8bbe\u8ba1\u4ece\u5165\u95e8\u5230\u7cbe\u901a\uff0c\u5173\u952e\u7684\u53c2\u6570\u65e9\u5df2\u5728\u4e0a\u9762\u4ecb\u7ecd\u4e86\uff0c\u5982\u6709\u4e0d\u61c2\uff0c\u8bf7\u53c2\u770b\u4e0a\u9762\u7684\u4ecb\u7ecd\u3002)<\/p>\n

3#.\/configure<\/p>\n

--prefix=\/usr\/local\/mysql5<\/p>\n

--localstatedir=\/var\/lib\/mysql5--with-comment=Source<\/p>\n

--with-server-suffix=-Community<\/p>\n

--with-mysqld-user=mysql<\/p>\n

--without-debug<\/p>\n

--with-big-tables<\/p>\n

--with-charset=gbk--with-collation=gbk_chinese_ci--with-extra-charsets=all<\/p>\n

--with-pthread<\/p>\n

--enable-static<\/p>\n

--enable-thread-safe-client<\/p>\n

--with-client-ldflags=-all-static<\/p>\n

--with-mysqld-ldflags=-all-static<\/p>\n

--enable-assembler<\/p>\n

--without-innodb<\/p>\n

--without-ndb-debug<\/p>\n

4#make<\/p>\n

5#makeinstall<\/p>\n

6.#useraddmysql\/\/\u6dfb\u52a0mysql\u7528\u6237<\/p>\n

7#cd\/usr\/local\/mysql5<\/p>\n

(\u6ce8\u610f\uff1a\uff01\uff01\uff01\u5728\u5b89\u88c5\u7b2c\u4e8c\u4e2a\u6570\u636e\u5e93\u65f6\u4faf\uff0c\u5373\u4f7f\u5728.\/configure\u540e\u52a0\u4e0a\u4e86--localstatedir=\/var\/lib\/mysql5\u800c\u4e14\u5e76\u672a\u5728\/var\/lib\u4e0b\u5f62\u6210mysql5\u76ee\u5f55\uff0c\u6240\u4ee5\u6211\u4eec\u8981\u5728\u6e90\u7801\u5305\u7f16\u8bd1\u5b89\u88c5\u5b8c\u6210\u4ee5\u540e\u5148\u68c0\u6d4b\u4e00\u4e0b\u662f\u5426\u6709\u8fd9\u4e2a\u76ee\u5f55\uff0c\u5047\u5982\u6ca1\u6709\u7684\u8bdd\u4e00\u5b9a\u8981\u81ea\u52a8\u521b\u5efa\u4e00\u4e2a\u547d\u4ee4\uff1a\uff03mkdir\/var\/lib\/mysql5\u518d\u6267\u884c\u7b2c\u516b\u6b65\u9aa4\u3002)<\/p>\n

8#bin\/mysql_install_db--user=mysql<\/p>\n

(\u5728\u786e\u4fdd\u7b2c\u4e03\u6b65\u9aa4\u6b63\u786e\u5b8c\u6210\u4ee5\u540e\uff0c\u5728\u6267\u884c\u672c\u6b65\u9aa4\u65f6\uff0c\u5047\u82e5\u6b63\u786e\u7684\u8bdd\uff0c\u5728\/var\/lib\/mysql5\u4e0b\u5c06\u4f1a\u5f62\u6210\u76f8\u5e94\u7684\u6570\u636e\u5e93\u6587\u4ef6\u3002)<\/p>\n

9#chown-Rroot:mysql.\/\/\u8bbe\u7f6e\u6743\u9650\uff0c\u6ce8\u610f\u65c1\u8fb9\u6709\u4e00\u4e2a\".\"<\/p>\n

10#chown-Rmysql\/var\/lib\/mysql5\/\/\u8bbe\u7f6emysql\u76ee\u5f55\u6743\u9650<\/p>\n

11#chgrp-Rmysql.\/\/\u6ce8\u610f\u65c1\u8fb9\u6709\u4e00\u4e2a\".\"<\/p>\n

12#cpshare\/mysql\/f\/etc\/f<\/p>\n

13#cpshare\/mysql\/mysql.server\/etc\/rc.d\/init.d\/mysql5\/\/\u5f00\u673a\u624b\u52a8\u542f\u52a8mysql\u3002<\/p>\n

14#chmod755\/etc\/rc.d\/init.d\/mysql5<\/p>\n

15#chkconfig--addmysql5<\/p>\n

16\u4ee5\u4e0b\u662f\u5b89\u88c5\u7b2c\u4e8c\u4e2a\u6570\u636e\u5e93\u65f6linux\u8bbe\u7f6e\u9ed8\u8ba4\u7f51\u5173\uff0c\u5bf9\u542f\u52a8\u6587\u4ef6mysql5\u548c\u914d\u7f6e\u6587\u4ef6f\u4f5c\u51fa\u7684\u5fc5\u8981\u66f4\u6539\u3002<\/p>\n

===================================================================================<\/p>\n

\/etc\/rc.d\/init.d\/mysql5<\/p>\n

\u66f4\u6539\u4e0b\u8fb9\u7684\u5185\u5bb9\uff1a<\/p>\n

1.datadir=\/var\/lib\/mysql5<\/p>\n

2.conf=\/etc\/f<\/p>\n

3.\u628a\"$bindir\/mysqld_safe--datadir=$datadir--pid-file=$server_pid_file$other_args>\/dev\/null2>&1&\"\u66ff\u6362\u4e3a\uff08\u53cc\u5192\u53f7\u4e2d\u7684\uff09<\/p>\n

\"$bindir\/mysqld_safe--defaults-file=\/etc\/f--datadir=$datadir--pid-file=$server_pid_file$other_args>\/dev\/null2>&1&\"\uff08\u53cc\u5192\u53f7\u4e2d\u7684\uff09<\/p>\n

===================================================================================<\/p>\n

\/etc\/f<\/p>\n

\u66f4\u6539\u4e0b\u8fb9\u7684\u5185\u5bb9\uff1a<\/p>\n

port=3307###\u66f4\u6539\u76f8\u5173\u7684\u7aef\u53e3<\/p>\n

socket\u6587\u4ef6\u751f\u6210\u8def\u5f84<\/p>\n

\u628a[client]\u548c[mysqld]\u4e2d\u7684port\u53f7\u90fd\u6539\u62103307,<\/p>\n

socket=\/tmp\/mysql.sock\u6539\u6210socket=\/tmp\/mysql5.sock<\/p>\n

[client]<\/p>\n

#password=your_password<\/p>\n

port=3307<\/p>\n

socket=\/tmp\/mysql5.sock<\/p>\n

#Herefollowsentriesforsomespecificprograms<\/p>\n

#TheMySQLserver<\/p>\n

[mysqld]<\/p>\n

port=3307<\/p>\n

socket=\/tmp\/mysql5.sock<\/p>\n

==================================================================================<\/p>\n

17#\/etc\/rc.d\/init.d\/mysql5start\/\/\u542f\u52a8MySQL<\/p>\n

18#bin\/mysqladmin-urootpassword\"password_for_root\"###\u8bbe\u7f6e\u6570\u636e\u5e93JDBC\u8054\u63a5\u7684\u5bc6\u7801<\/p>\n

\u6ce8\u610f\u4e8b\u9879\uff1a\u6b64\u5bc6\u7801\u4e0e\u4ece\u7ec8\u7aef\u987e\u5ba2\u7aef\u767b\u5f55\u6570\u636e\u5e93\u7684\u5bc6\u7801\u662f\u5426\u4e3a\u540c\u4e00\u5bc6\u7801\uff0c\u8fd8\u5b58\u5728\u7591\u60d1\u3002<\/p>\n

\u8bbe\u7f6e\u7ec8\u7aef\u987e\u5ba2\u7aef\u767b\u5f55\u6570\u636e\u5e93\u7684\u5bc6\u7801\uff1a(\u9ed8\u8ba4\u8bbe\u7f6e\uff1a\u7528\u6237\u540d\uff1aroot\u5bc6\u7801\uff1a\uff08\u7a7a\uff09)<\/p>\n

19#cd\/usr\/local\/mysql5\/bin(\u6b65\u5165\u6570\u636e\u5e93\u5b89\u88c5\u76ee\u5f55\u4e0b\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4)<\/p>\n

20#.\/mysql-uroot-p(\u767b\u5165\u6570\u636e\u5e93linux\u67e5\u770bpthread\u5e93\u7248\u672c<\/strong>\uff0c\u4ee5mysql>\u5f00\u5934\u5747\u5c5e\u6570\u636e\u5e93\u5185\u7684\u64cd\u4f5c,\u6ce8\u610f\u4e0d\u8981\u6254\u6389\u5206\u53f7<\/p>\n

mysql>usemysql;<\/p>\n

mysql>UPDATEuserSETPassword=PASSWORD('newpassword')whereUSER='root';<\/p>\n

mysql>FLUSHPRIVILEGES;<\/p>\n

mysql>exit;<\/p>\n

21#servicemysql5stop\/\/\u5173\u6389MySQL<\/p>\n

22tomcat\u5e03\u7f72\u6587\u4ef6\u4e0b\u7684\u66f4\u6539\uff1a<\/p>\n

\u66f4\u6539\/usr\/tomcat\/jetmambo\/WEB-INF\/classes\/jdbc.properties<\/p>\n

1.3306\u6539\u62103307<\/p>\n

2.jdbc.password=system(\u6ce8\u610f\u4e8b\u9879\uff1a\u8fd9\u4e2a\u5bc6\u7801\u5c31\u662f\u6570\u636e\u5e93JDBC\u8054\u63a5\u7684\u5bc6\u7801)<\/p>\n

\u66f4\u6539\u540e\u5982\u4e0b\uff1a<\/p>\n

jdbc.driverClassName=com.mysql.jdbc.Driver<\/p>\n

jdbc.url=jdbc:mysql:\/\/localhost:3307\/timef3_cmd?&useUnicode=true&characterEncoding=gbk<\/p>\n

jdbc.username=root<\/p>\n

jdbc.password=system<\/p>\n

23\u542f\u52a8\u6570\u636e\u5e93\u548cWEB\u670d\u52a1\u5668\uff0c\u9a8c\u8bc1\u6570\u636e\u5e93\u5b89\u88c5\u662f\u5426\u6210\u529f<\/p>\n

\/etc\/init.d\/mysqlrestart<\/p>\n

\/etc\/init.d\/mysql5restart<\/p>\n

\u6ce8\u610f\u4e8b\u9879\uff1a\u5fc5\u987b\u4fdd\u6301\u4e24\u4e2a\u6570\u636e\u5e93\u90fd\u5f00\u542f\u670d\u52a1,\u5426\u5219tomcat\u62a5SQLException<\/p>\n

\/usr\/tomcat\/bin\/catalina.shrun<\/p>\n

\u8865\u5145\u8bf4\u660e\uff1a<\/p>\n

24linux\u4e0b\u9ed8\u8ba4\u6570\u636e\u5e93\u4e2d\u8868\u540d\u4e0d\u5ffd\u89c6\u5927\u5c0f\u5199\uff0c\u505a\u5982\u4e0b\u8bbe\u7f6e\uff1a<\/p>\n

\/etc\/f<\/p>\n

#TheMySQLserver<\/p>\n

[mysqld]<\/p>\n

lower_case_table_names=1###1\u4e3a\u5ffd\u89c6\u5927\u5c0f\u51990\u4e3a\u4e0d\u5ffd\u89c6\u5927\u5c0f\u5199<\/p>\n

port=3307<\/p>\n

socket=\/tmp\/mysql5.sock<\/p>\n

\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<\/p>\n

\u9057\u7559\u95ee\u9898\uff0c\u4e0d\u77e5\u8fd9\u4f4d\u9ad8\u624b\u53ef\u4ee5\u89e3\u7b54\u4e00\u4e0b\uff1a<\/p>\n

\u5728\u7ec8\u7aef\u6b65\u5165<\/p>\n

>mysql\u65f6<\/p>\n

\u62a5\uff1a<\/p>\n

ERROR2002(HY000):Can'tconnecttolocalMySQLserverthroughsocket'\/var\/lib\/mysql\/mysql.sock'(2)<\/p>\n

\u9519\u8bef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

4)mysql5\u5728linux\u4e0b\u5bf9\u6570\u636e\u5e93\u533a\u5206\u5927\u5c0f\u5199\u7684\u95ee\u9898\u3002\u67e5\u8be2\u7cfb\u7edf\u662f\u5426\u9ed8\u8ba4\u5b89\u88c5\u4e86mysql\u670d\u52a1\u5668\u7136\u540e\u5378\u8f7d\u7cfb\u7edf\u9ed8\u8ba4\u5b89\u88c5\u7684mysql\u6570\u636e\u5e93\u76ee\u5f55\uff1a\/var\/lib\/mysql\u5b83\u4f7f\u7528\u7684\u90fd\u662f\u9ed8\u8ba4\u7684\u8bbe\u7f6e\uff0c\u5b89\u88c5\u540e\u751f\u6210\u7684\u914d\u7f6e\u6587\u4ef6\u548c\u6570\u636e\u5e93\u76ee\u5f55\u7b49\u7b49\u4e00\u7cfb\u5217\u7684\u914d\u7f6e\u90fd\u662f\u6211\u4eec\u4e0d\u80fd\u6539\u53d8\u7684\u3002\/usr\/local\/mysql5\/bin(\u8fdb\u5165\u6570\u636e\u5e93\u5b89\u88c5\u76ee\u5f55\u4e0b\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4)22tomcat\u90e8\u7f72\u6587\u4ef6\u4e0b\u7684\u4fee\u6539\uff1a<\/p>\n","protected":false},"author":1,"featured_media":282701,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-282700","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/282700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=282700"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/282700\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/282701"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=282700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=282700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=282700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}