Ahmed Amayem has written 90 articles

A Web Application Developer Entrepreneur.

Installing WordPress Step 2: Setting up MySQL for WordPress using Command Line MySQL Client on Linux (CentOS 6)

This post is part of a step-by-step series on installing WordPress on Linux (CentOS 6) There are several ways to access your MySQL database, but in this tutorial we will be using command line. Before we begin we assume the following: Requirements MySQL has been installed and secured WordPress Directory has been Installed Using yum…

Installing WordPress Step 1B: Installing the WordPress Directory Directly on Linux (CentOS 6)

This post is part of a step-by-step series on installing WordPress on Linux (CentOS 6) I prefer to install things with yum (or any package manager) when I can, but unfortunately there are some limitations to the epel WordPress package as we discussed in the post about installing WordPress using yum. This post will deal…

Installing WordPress Step 1A: Installing the WordPress Directory Using yum on Linux (CentOS 6)

This post is part of a step-by-step series on installing WordPress on Linux (CentOS 6) I always prefer to install things using a package manager like yum (for RHEL and CentOS), instead of installing manually so I can avoid having to worry about dependencies. Furthermore it makes uninstalling much easier. Installing WordPress is no exception,…

Installing WordPress (Site and MultiSite) on Linux (CentOS 6) Full Step-by-Step Series

The following are the steps I went through to install WordPress on my Linux (CentOS 6). Installing Prerequisites Installing Different Versions of php Using yum on Linux (CentOS 6) Installing MySQL on Linux (CentOS 6) Production Server Installing WordPress Installing the WordPress Directory Using yum Without yum Setting Up MySQL Database Updating wp-config.php with Database…

Solving MySQL ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

I came upon this error after installing the latest version of MySQL using yum and securing it. The Error With mysqld running I tried to run mysql as follows: [ahmed@amayem ~]$ mysql ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) Different failed attempts: Here are more attempts to get it…