Re: [PHP-WIN] Newbie seeks help with PHP and MySQL

2001-04-18 Thread Plutarck
Read the MySQL manual, chapter 6.12 entitled "Setting up the intitial MySQL privileges". You'll want to create a username and password, and then GRANT it the proper privileges. Then just alter your mysql_connect to reflect your username and password, and it should all work fine again. -- Pluta

Re: [PHP-WIN] Newbie seeks help with PHP and MySQL

2001-04-18 Thread Johannes Janson
Hi, did you set up a user? If not did you connect as "root"? Have you set a password for your root? Questions, questions. Some hints though: If you haven't set a pswd for root do so. Go to msdos, tpye the path of the mysql\bin directory and then "mysql -u root". You should now be in the mysql-she

[PHP-WIN] Newbie seeks help with PHP and MySQL

2001-04-18 Thread r.gelstharp
I'm new to the game of PHP and MySQL but have the latest versions of both installed along with Apache on my Win 98 machine. I'm having problems connecting to a database I know is there, an empty one that I'm trying to use PHP to add tables to. In the "die()" statement to the "mysql_select_db()" f