install wordpress on xampp code example
Example 1: install mySQL on mac
Using Homebrew:
brew install mysql
brew tap homebrew/services
brew services start mysql
mysqladmin -u root password 'secretpaSSw0rd'
Using Docker:
docker pull mysql/mysql-server
docker run --name=mysql -d mysql/mysql-server
Example 2: how to use mysql databast hostgator with a wordpress install
// ** MySQL Settings ** //
/** The name of the database for WordPress */
define('DB_NAME', 'joe1337_wrdp1');
/** MySQL database username */
define('DB_USER', 'joe1337_wp1');
/** MySQL database password */
define('DB_PASSWORD', 'eHTb7%Pxa9');
/** MySQL hostname */
define('DB_HOST', 'localhost');