If you want to create the database using mysql, you'll need to have a working MySQL installation and learn a little about the langugage in the online manual at www.mysql.com.
A real simple SQL script for this task:
DROP DATABASE IF EXISTS foo;
CREATE DATABASE foo;
USE foo;
DROP TABLE IF EXISTS auth_table;
CREATE TABLE auth_table (
username varchar(16) PRIMARY KEY,
password varchar(16) NOT NULL,
full_name text
);
Note that, like PHP, MySQL commands end with a semicolon (';')
You can feed the file above to the MySQL monitor (if you have appropriate permission) thusly:
mysql < foodatabasescript.sql
As you probably know, PHP has a built in library of commands for dealing with MySQL as well. In PHP:
$db=mysql_pconnect("hostname", "username", "password");
mysql_create_database("foo");
and so on...
I was pretty skeptical about my ability to learn MySQL, because, although I found PHP pretty easy, I had more trouble with JavaScript and I also couldn't find a book on MySQL that wasn't thicker than the St. Louis phone directory, but the online manual was helpful and easy to use.
HTH,