my.cnf

[root@dhcppc2 ~]# ls -ld /etc/my.cnf -rw-r–r–. 1 root root 570 Nov 14 22:14 /etc/my.cnf ——- [root@dhcppc2 ~]# cat /etc/my.cnf [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock # Disabling symbolic-links is recommended to prevent assorted security risks symbolic-links=0 # Settings user and group are ignored when systemd is used. # If you need to run mysqld under a different user… Continue reading my.cnf

Configure WordPress

cd /var/www/html cp wp-config-sample.php wp-config.php vi wp-config.php // ** MySQL settings – You can get this info from your web host ** // /** The name of the database for WordPress */ define(‘DB_NAME’, ‘wordpress’); /** MySQL database username */ define(‘DB_USER’, ‘wordpressuser’); /** MySQL database password */ define(‘DB_PASSWORD’, ‘password’);