2 messages in com.mysql.lists.win32how to put a username and a password....
FromSent OnAttachments
Marius Petravièius02 Jan 2001 17:51 
Stephen Woodbridge02 Jan 2001 20:27 
Subject:how to put a username and a password....
From:Marius Petravièius (Mar@kitoks.lt)
Date:01/02/2001 05:51:06 PM
List:com.mysql.lists.win32

To create a database I use this kind of script: <?php if (mysql_create_db ("db")) { print ("Database created successfully\n"); } else { printf ("Error creating database: %s\n", mysql_error ()); } ?> But I don't know how to put usernmae and a password to this database. By default, the server is 'localhost', the username is 'webmaster', the password is ''.

I am using Windows98 SE, Apache server with PHP 4.0.4 and MySQL.