Excellent news:
MJN1812 wrote:
Did step 5, and this is what I got:
ERROR 1045 (28000): Access denied for user 'myname'@'localhost' (using password: NO)
This and the two lines you got from the other command I had you run means you got the database daemon up and running. The error you see here means that when you tried to connect to the daemon you were denied access because the user 'myname'@'localhost' doesn't have sufficient privileges. In this case it's probably because you don't have a user called 'myname' set up.
However, MySQL has a root user, a little like OS X does, though it's a completely different user. See what happens if you try to connect as the MySQL root user:
/usr/local/mysql/bin/mysql -u root
At this point, you ought to be able to use PHPMyAdmin or Sequel Pro to connect, too. Just use "root" as the username and leave the password blank.
You'll want to set up a root password for MySQL soon, and users with their own passwords. Particularly when you start storing data you care about.
Now that you have the daemon running, you should be able to use just about any MySQL tutorial out there (and there are lots and lots), since it's pretty much the identical on any platform once you're actually dealing with the SQL stuff. I write all the code for my web sites on my laptop, but when I upload it to the servers, which are running MySQL on Linux, I don't have to change anything. All the MySQL stuff just works.
charlie