>How do you create user access priviliges in MySQL and where would you put a
>username and password in the mysql_select_db() statement?

I suggest you try the fail-safe method of getting mySQL and PHP working
together:

Before applying any difficult stuff from your books: install phpMyAdmin from
www.phpWizard.net.
This PHP-application is easy to setup (just edit the config*.php) on your
server and shows you which tables do exist.
BTW, a default mySQL-installation has a root-user with an empty password. I
believe it runs on port 3306, but you hardly need to provide those kind of
parameters.

Of course, you should be sure that mySQL is running on your server.
Go into your mySQL-directory, type mysql <ENTER> and see whether you get a
prompt or an error-message.

After all that works you can try creating your own scripts and wonder why
they are (not) working...
Good luck...

Greetings,

Martijn



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to