{"id":53729,"date":"2024-10-09T13:46:13","date_gmt":"2024-10-09T05:46:13","guid":{"rendered":"https:\/\/server.hk\/cnblog\/53729\/"},"modified":"2024-10-09T13:46:13","modified_gmt":"2024-10-09T05:46:13","slug":"win2003-mysql5-%e5%ae%89%e8%a3%9d%e5%9c%96%e6%96%87%e6%95%99%e7%a8%8b%e8%88%87%e8%a8%ad%e7%bd%ae%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/53729\/","title":{"rendered":"Win2003 MySQL5 \u5b89\u88dd\u5716\u6587\u6559\u7a0b\u8207\u8a2d\u7f6e\u65b9\u6cd5"},"content":{"rendered":"<h1 id=\"win2003-mysql5-%e5%ae%89%e8%a3%9d%e5%9c%96%e6%96%87%e6%95%99%e7%a8%8b%e8%88%87%e8%a8%ad%e7%bd%ae%e6%96%b9%e6%b3%95-biSGmOlYTE\">Win2003 MySQL5 \u5b89\u88dd\u5716\u6587\u6559\u7a0b\u8207\u8a2d\u7f6e\u65b9\u6cd5<\/h1>\n<p>\u5728\u9019\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u5011\u5c07\u8a73\u7d30\u4ecb\u7d39\u5982\u4f55\u5728 Windows Server 2003 \u4e0a\u5b89\u88dd MySQL 5 \u53ca\u5176\u8a2d\u7f6e\u65b9\u6cd5\u3002MySQL \u662f\u4e00\u500b\u6d41\u884c\u7684\u958b\u6e90\u95dc\u806f\u6578\u64da\u5eab\u7ba1\u7406\u7cfb\u7d71\uff0c\u5ee3\u6cdb\u61c9\u7528\u65bc\u5404\u7a2e\u61c9\u7528\u7a0b\u5e8f\u4e2d\u3002\u4ee5\u4e0b\u662f\u5b89\u88dd\u548c\u8a2d\u7f6e\u7684\u6b65\u9a5f\u3002<\/p>\n<h2 id=\"%e7%b3%bb%e7%b5%b1%e8%a6%81%e6%b1%82-biSGmOlYTE\">\u7cfb\u7d71\u8981\u6c42<\/h2>\n<ul>\n<li>\u64cd\u4f5c\u7cfb\u7d71\uff1aWindows Server 2003<\/li>\n<li>\u5167\u5b58\uff1a\u81f3\u5c11 512 MB<\/li>\n<li>\u786c\u789f\u7a7a\u9593\uff1a\u81f3\u5c11 200 MB<\/li>\n<\/ul>\n<h2 id=\"%e4%b8%8b%e8%bc%89-mysql-5-biSGmOlYTE\">\u4e0b\u8f09 MySQL 5<\/h2>\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u5f9e MySQL \u7684\u5b98\u65b9\u7db2\u7ad9\u4e0b\u8f09 MySQL 5 \u7684\u5b89\u88dd\u5305\u3002\u8acb\u78ba\u4fdd\u9078\u64c7\u9069\u5408 Windows \u7684\u7248\u672c\u3002<\/p>\n<pre>\n1. \u8a2a\u554f <a href=\"https:\/\/dev.mysql.com\/downloads\/mysql\/5.0.html\" rel=\"nofollow noopener\" target=\"_blank\">MySQL 5 \u4e0b\u8f09\u9801\u9762<\/a>\u3002\n2. \u9078\u64c7 Windows \u7248\u672c\uff0c\u7136\u5f8c\u4e0b\u8f09\u5b89\u88dd\u5305\u3002\n<\/pre>\n<h2 id=\"%e5%ae%89%e8%a3%9d-mysql-5-biSGmOlYTE\">\u5b89\u88dd MySQL 5<\/h2>\n<p>\u4e0b\u8f09\u5b8c\u6210\u5f8c\uff0c\u8acb\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u9032\u884c\u5b89\u88dd\uff1a<\/p>\n<ol>\n<li>\u96d9\u64ca\u4e0b\u8f09\u7684\u5b89\u88dd\u5305\uff0c\u555f\u52d5\u5b89\u88dd\u5411\u5c0e\u3002<\/li>\n<li>\u9078\u64c7\u201c\u5178\u578b\u5b89\u88dd\u201d\u4ee5\u4fbf\u5feb\u901f\u5b89\u88dd\u3002<\/li>\n<li>\u5728\u5b89\u88dd\u904e\u7a0b\u4e2d\uff0c\u60a8\u5c07\u88ab\u8981\u6c42\u9078\u64c7\u5b89\u88dd\u76ee\u9304\uff0c\u9ed8\u8a8d\u70ba C:Program FilesMySQLMySQL Server 5.0\u3002<\/li>\n<li>\u5b89\u88dd\u5b8c\u6210\u5f8c\uff0c\u60a8\u9700\u8981\u914d\u7f6e MySQL \u4f3a\u670d\u5668\u3002<\/li>\n<\/ol>\n<h2 id=\"%e9%85%8d%e7%bd%ae-mysql-%e4%bc%ba%e6%9c%8d%e5%99%a8-biSGmOlYTE\">\u914d\u7f6e MySQL \u4f3a\u670d\u5668<\/h2>\n<p>\u5b89\u88dd\u5b8c\u6210\u5f8c\uff0c\u60a8\u9700\u8981\u9032\u884c\u4e00\u4e9b\u57fa\u672c\u914d\u7f6e\uff1a<\/p>\n<ol>\n<li>\u555f\u52d5 MySQL Configuration Wizard\u3002<\/li>\n<li>\u9078\u64c7\u201c\u8a73\u7d30\u914d\u7f6e\u201d\u9078\u9805\u3002<\/li>\n<li>\u9078\u64c7\u201c\u6a19\u6e96\u914d\u7f6e\u201d\u4ee5\u4fbf\u65bc\u5927\u591a\u6578\u7528\u6236\u4f7f\u7528\u3002<\/li>\n<li>\u8a2d\u7f6e MySQL \u4f3a\u670d\u5668\u7684\u985e\u578b\uff0c\u901a\u5e38\u9078\u64c7\u201c\u591a\u7528\u9014\u4f3a\u670d\u5668\u201d\u3002<\/li>\n<li>\u8a2d\u7f6e\u6839\u7528\u6236\u7684\u5bc6\u78bc\uff0c\u8acb\u52d9\u5fc5\u8a18\u4f4f\u6b64\u5bc6\u78bc\u3002<\/li>\n<li>\u9078\u64c7\u662f\u5426\u555f\u7528 TCP\/IP \u9023\u63a5\uff0c\u901a\u5e38\u9078\u64c7\u555f\u7528\u3002<\/li>\n<li>\u5b8c\u6210\u914d\u7f6e\u5f8c\uff0c\u9ede\u64ca\u201c\u57f7\u884c\u201d\u4ee5\u555f\u52d5 MySQL \u4f3a\u670d\u5668\u3002<\/li>\n<\/ol>\n<h2 id=\"%e9%a9%97%e8%ad%89%e5%ae%89%e8%a3%9d-biSGmOlYTE\">\u9a57\u8b49\u5b89\u88dd<\/h2>\n<p>\u5b89\u88dd\u548c\u914d\u7f6e\u5b8c\u6210\u5f8c\uff0c\u60a8\u53ef\u4ee5\u901a\u904e\u547d\u4ee4\u884c\u9a57\u8b49 MySQL \u662f\u5426\u6b63\u5e38\u904b\u884c\uff1a<\/p>\n<pre>\n1. \u6253\u958b\u547d\u4ee4\u63d0\u793a\u7b26\u3002\n2. \u8f38\u5165\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u767b\u9304 MySQL\uff1a\n   mysql -u root -p\n3. \u8f38\u5165\u60a8\u5728\u914d\u7f6e\u904e\u7a0b\u4e2d\u8a2d\u7f6e\u7684\u5bc6\u78bc\u3002\n<\/pre>\n<p>\u5982\u679c\u6210\u529f\u767b\u9304\uff0c\u60a8\u5c07\u770b\u5230 MySQL \u63d0\u793a\u7b26\uff0c\u8868\u793a\u5b89\u88dd\u6210\u529f\u3002<\/p>\n<h2 id=\"%e5%9f%ba%e6%9c%ac%e6%93%8d%e4%bd%9c-biSGmOlYTE\">\u57fa\u672c\u64cd\u4f5c<\/h2>\n<p>\u4ee5\u4e0b\u662f\u4e00\u4e9b\u57fa\u672c\u7684 MySQL \u64cd\u4f5c\u547d\u4ee4\uff1a<\/p>\n<ul>\n<li>\u5275\u5efa\u6578\u64da\u5eab\uff1a<code>CREATE DATABASE database_name;<\/code><\/li>\n<li>\u4f7f\u7528\u6578\u64da\u5eab\uff1a<code>USE database_name;<\/code><\/li>\n<li>\u5275\u5efa\u8868\uff1a<code>CREATE TABLE table_name (column1 datatype, column2 datatype);<\/code><\/li>\n<li>\u63d2\u5165\u6578\u64da\uff1a<code>INSERT INTO table_name (column1, column2) VALUES (value1, value2);<\/code><\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-biSGmOlYTE\">\u7e3d\u7d50<\/h2>\n<p>\u5728\u672c\u6587\u4e2d\uff0c\u6211\u5011\u4ecb\u7d39\u4e86\u5982\u4f55\u5728 Windows Server 2003 \u4e0a\u5b89\u88dd\u548c\u914d\u7f6e MySQL 5\u3002\u9019\u4e9b\u6b65\u9a5f\u5c07\u5e6b\u52a9\u60a8\u5feb\u901f\u4e0a\u624b MySQL \u6578\u64da\u5eab\u7ba1\u7406\u7cfb\u7d71\u3002\u5982\u679c\u60a8\u9700\u8981\u66f4\u9ad8\u6548\u7684\u6578\u64da\u5eab\u89e3\u6c7a\u65b9\u6848\uff0c\u8003\u616e\u4f7f\u7528 <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u4f86\u904b\u884c\u60a8\u7684 MySQL \u4f3a\u670d\u5668\uff0c\u9019\u6a23\u53ef\u4ee5\u7372\u5f97\u66f4\u597d\u7684\u6027\u80fd\u548c\u7a69\u5b9a\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8a73\u7d30\u7684Win2003 MySQL5\u5b89\u88dd\u5716\u6587\u6559\u7a0b\u8207\u8a2d\u7f6e\u65b9\u6cd5\uff0c\u5e6b\u52a9\u60a8\u8f15\u9b06\u914d\u7f6e\u6578\u64da\u5eab\u74b0\u5883\uff0c\u63d0\u5347\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4924],"tags":[],"class_list":["post-53729","post","type-post","status-publish","format-standard","hentry","category-setup-tutorials"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/53729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=53729"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/53729\/revisions"}],"predecessor-version":[{"id":53730,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/53729\/revisions\/53730"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=53729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=53729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=53729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}