{"id":313,"date":"2022-08-13T12:27:11","date_gmt":"2022-08-13T12:27:11","guid":{"rendered":"https:\/\/hiyokotech.com\/?p=313"},"modified":"2022-09-27T06:38:51","modified_gmt":"2022-09-27T06:38:51","slug":"install-2nd-wordpress","status":"publish","type":"post","link":"https:\/\/hiyokotech.com\/?p=313","title":{"rendered":"Install 2nd wordpress"},"content":{"rendered":"\n<p>This is the procedure of install 2nd Japanese wordpress on same server.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ol><li>unzip wordpress wordpress-6.0.1-ja.tar.gz Japanese version on the www root directory and rename wordpress directory to new directory ex: tt. Access \/tt directory by Web browser. <\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1003\" height=\"702\" src=\"https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image.png\" alt=\"\" class=\"wp-image-316\" srcset=\"https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image.png 1003w, https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-300x210.png 300w, https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-768x538.png 768w\" sizes=\"(max-width: 1003px) 100vw, 1003px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>2. Input database name, user name, and so on.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"696\" height=\"670\" src=\"https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-6.png\" alt=\"\" class=\"wp-image-339\" srcset=\"https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-6.png 696w, https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-6-300x289.png 300w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/figure>\n\n\n\n<p>3. Database error occur<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"986\" height=\"575\" src=\"https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-2.png\" alt=\"\" class=\"wp-image-320\" srcset=\"https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-2.png 986w, https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-2-300x175.png 300w, https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-2-768x448.png 768w\" sizes=\"(max-width: 986px) 100vw, 986px\" \/><\/figure>\n\n\n\n<p>4. Check the mysql uesrs.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\n\n# mysql -u root -p\nmysql> select user, host FROM mysql.user\n;\n+------------------+----------------+\n| user             | host           |\n+------------------+----------------+\n| wpuser           | hiyokotech.com |\n| mysql.infoschema | localhost      |\n| mysql.session    | localhost      |\n| mysql.sys        | localhost      |\n| root             | localhost      |\n| wpuser           | localhost      |\n+------------------+----------------+\n6 rows in set (0.00 sec)\n<\/code><\/pre>\n\n\n\n<p>5. Create a new database user and a database.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>create user 'tt'@'localhost' identified by 'xxxxx';\ncreate database ttdb;<\/code><\/pre>\n\n\n\n<p>6. grant all privileges to a new user<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grant all privileges on ttdb.* to tt@localhost;<\/code><\/pre>\n\n\n\n<p>7. Access wordpress and fill database name, user name, and password.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"976\" height=\"712\" src=\"https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-4.png\" alt=\"\" class=\"wp-image-325\" srcset=\"https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-4.png 976w, https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-4-300x219.png 300w, https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-4-768x560.png 768w\" sizes=\"(max-width: 976px) 100vw, 976px\" \/><\/figure>\n\n\n\n<p>8. Execute wordpress install.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"992\" height=\"382\" src=\"https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-5.png\" alt=\"\" class=\"wp-image-327\" srcset=\"https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-5.png 992w, https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-5-300x116.png 300w, https:\/\/hiyokotech.com\/wp-content\/uploads\/2022\/09\/image-5-768x296.png 768w\" sizes=\"(max-width: 992px) 100vw, 992px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This is the procedure of install 2nd Japanese wordpress on same server. unzip wordpress wordpress-6.0.1-ja.tar.gz Japanese version on the www root directory and rename wordpress directory to new directory ex: tt. Access \/tt directory by Web browser. 2. Input database name, user name, and so on. 3. Database error occur 4. Check the mysql uesrs. <br \/><a class=\"read-more-button\" href=\"https:\/\/hiyokotech.com\/?p=313\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/hiyokotech.com\/index.php?rest_route=\/wp\/v2\/posts\/313"}],"collection":[{"href":"https:\/\/hiyokotech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hiyokotech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hiyokotech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hiyokotech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=313"}],"version-history":[{"count":8,"href":"https:\/\/hiyokotech.com\/index.php?rest_route=\/wp\/v2\/posts\/313\/revisions"}],"predecessor-version":[{"id":340,"href":"https:\/\/hiyokotech.com\/index.php?rest_route=\/wp\/v2\/posts\/313\/revisions\/340"}],"wp:attachment":[{"href":"https:\/\/hiyokotech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hiyokotech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hiyokotech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}