The code in “wp-config.php” file will be looking something like below: // ** MySQL settings - You can get this info from your web host ** // Database name – Same name which you created in step3.Open “wp-config.php” file and add the following details under MySQL settings section: ![]() Right click on the file name, select “Duplicate” to create a copy of the file and change the name to “wp-config.php”. In order to do that, open “htdocs” folder in your Mac and locate “wp-config-sample.php” file. Now that you setup MAMP servers, database and installed WordPress as well and guess what next? You need to connect WordPress installation to the MAMP MySQL database so that WordPress can save your content in that database tables. ![]() ![]() Step5 – Connect WordPress to Local Database
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |