Hi Vic,
My suggestion is that you delete the installation you just did, go back to the devshed page and do it all over again from the top. Of course if you've already created your mysql entry in NetInfo you won't need to do it again, but confirm those settings.
I notice the devshed instructions don't include a step to actually add the user 'mysql' to your system. You should go to the Users panel in System Preferences and add a 'mysql' user if one doesn't exist.
You may want to get a newer version of MySQL than the one they mention, 3.23.38. The latest version is 3.23.40.
Assuming you follow all the steps in the article you should have mysql set up and it should start automatically when you boot MacOS X. If you need to start it manually there's a very particular way you need to do it.
1. Go to the Terminal and become root.
2. cd to the directory where mysql is installed, which should be /usr/local according to the devshed instructions. Don't enter the bin directory.
3. start mysql with ./bin/safe_mysqld &
Now, if you want to go to the mysql command line you'll need to have permissions to do so. By default I believe that mysql allows an anonymous user to connect without a password. You'd want to change this for security and just because it's good practice. To eliminate the anonymous user and set the root password for mysql you should use these steps:
shell> mysql mysql
mysql> DELETE FROM user WHERE Host='localhost' AND User='';
mysql> QUIT
shell> mysqladmin reload
shell> mysqladmin -u root password your_password
You can
add more users and permissions to mysql so that you don't have to change to 'root' in order to use it. To do this you'd need to edit the 'mysql' database tables 'host' and 'user'.
The best resource for learning how to install and administer mysql is located
right here. You really should read this page even before you start the install. It gives lots of tips, including what to do about
problems starting the server.
MySQL also includes a utility called
mysql_setpermission but in order to use it you have to install the MySQL perl modules and possibly the DBI mysql modules. They're available at
Source Forge.
You may decide you want to install mysql someplace else other than /usr/local. I actually use /usr/local/mysql for the main install and /usr/local/mysql/data for the databases. To do this I added the following options to the ./configure line:
--prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data
There are lots of other
configuration options you might try to get things just the way you like.