I'm new to the whole php mysql thing, so forgive me if this is a novice question. I'm on a Win98 box using phpMyAdmin, php, mySQL, Personal Web Server, and IE. Somehow I created the phpInv database; I'm really not even sure how, but it's there.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'phpinv@127.0.0.1' (Using password: YES) in C:\Inetpub\wwwroot\inventory\inc\db_mysql.php on line 25
Database error in phpInv: Link-ID == false, connect failed
mysql error: Access denied for user: 'phpinv@127.0.0.1' (Using password: YES)
mysql error number: 1045
Date: 01.02.2003 @ 15:06
Script:
Referer:
So, it seems like I am not logging in to the mysql server. Do I need to make changes to any of the other phpInv files, like enter a user name and password?
Notice: Undefined variable: hash in C:\Inetpub\wwwroot\inventory\index.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\inventory\index.php:22) in C:\Inetpub\wwwroot\inventory\index.php on line 22
Thanks for your help --- and thanks a lot for creating phpInv !
Harvey
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm new to the whole php mysql thing, so forgive me if this is a novice question. I'm on a Win98 box using phpMyAdmin, php, mySQL, Personal Web Server, and IE. Somehow I created the phpInv database; I'm really not even sure how, but it's there.
When I try to open http://localhost/inventory/admin/index.php in my browser, I get the following error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'phpinv@127.0.0.1' (Using password: YES) in C:\Inetpub\wwwroot\inventory\inc\db_mysql.php on line 25
Database error in phpInv: Link-ID == false, connect failed
mysql error: Access denied for user: 'phpinv@127.0.0.1' (Using password: YES)
mysql error number: 1045
Date: 01.02.2003 @ 15:06
Script:
Referer:
So, it seems like I am not logging in to the mysql server. Do I need to make changes to any of the other phpInv files, like enter a user name and password?
Alos, when I try to open http://localhost/inventory/index.php, I get the following error:
Notice: Undefined variable: hash in C:\Inetpub\wwwroot\inventory\index.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\inventory\index.php:22) in C:\Inetpub\wwwroot\inventory\index.php on line 22
Thanks for your help --- and thanks a lot for creating phpInv !
Harvey
As explained in the README you have to import contrib/phpInv.sql and then edit the files under admin/config - especially db.php for mysql access.