Creating MySQL databases on my own server (OS X)
-
I want to get my computer setup to host WordPress sites for building, and I’ll later push them to another hosting service, but for now I’m having trouble creating a MySQL database. Actually, I created the database in an SQL server running in my terminal. I’m using MAMP, and this is my config-sample file:
define('DB_NAME', 'wordpress'); /** MySQL database username */ define('DB_USER', 'username'); /** MySQL database password */ define('DB_PASSWORD', 'password'); /** MySQL hostname */ define('DB_HOST', 'localhost'); /** Database Charset to use in creating database tables. */ define('DB_CHARSET', 'utf8'); /** The Database Collate type. Don't change this if in doubt. */ define('DB_COLLATE', '');
I created another file called `wordpress’.sql and in the sql server created a database called wordpress. The problem is, when I go to run the installation, it’s giving me this error message:
“We were able to connect to the database server (which means your username and password is okay) but not able to select the wordpress database.”
Since I’m my own host, I’m sure that I don’t need to put my username_wordpress for the database name…
Anyone know what to do?
- The topic ‘Creating MySQL databases on my own server (OS X)’ is closed to new replies.