Menu

Initial Configuration Question

harvey
2003-02-01
2003-02-03
  • harvey

    harvey - 2003-02-01

    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

     
    • Stefan Cyris

      Stefan Cyris - 2003-02-03

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.