Some quick MySQL commands for database creation ( For WordPress & Rails )

Some systems like Ubuntu, mysql is using by default the UNIX auth_socket plugin. Basically means that: db_users using it, will be “auth” by the system user credentias. You can see if your root user is set up like this by doing the following: As you can see in the query, the root user is using the auth_socket plugin There are 2 ways to solve this: […]