Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 4 of 4

Thread: MySQL? Please help!

  1. #1
    extremenewb
    Guest


    Default MySQL? Please help!

    ok..heres my story:

    Ok, well I've downloaded Apache, PHP, and MySQL. My personal PHP pages work but when I put osCommerce into the dir "htdocs" and go to the directory "catalog" (http://localhost/catalog), it doesnt lead me to the index.php file, but instead leads me to the folder. It doesnt do this to any of my other .php files. So when I do click on index.php, it leads me to the install page. I fill in the information but then it leads me to "Host 'xxxx(this is my server IP)' is not allowed to connect to this MySQL server. So I went and downloaded MySQL and installed it and it STILL doesnt work. Im very confused. I dont think I installed MySQL properly, but I did EXACTLY what all the tutorials said. Does it have to do with a database? Because I dont even know what a database is. Im on Windows XP, but I can use Linux on my other computer if you guys know more about that. Thanks alot guys!

  2. #2
    jonthewebb
    Guest


    Default

    maybe a firewall problem? Especially if you have downloaded SP2 for XP which sets the built-in firewall on as standard, try disabling it and see if it makes a difference.

    Otherwise a google search for the error message usually comes up with some suggestions:

    http://www.sitepoint.com/forums/showthread.php?t=157964


    jw

  3. #3
    ddecjc
    Guest


    Default

    The problem with the browser showing a directory listing instead of the index.php file is because your Apache server configuration is not recognizing index.php as a valid DirectoryIndex page. You need to edit your Apache's httpd.conf file and, on the line that has "DirectoryIndex" add "index.php" to the list of filenames already on that line. Restart Apache, and you should have that problem solved.

    On the MySQL issue, just because you installed MySQL doesn't mean that the database server is actually running. You need to make sure that it's running so that there is something to connect to.

  4. #4
    wenzlerpaul
    Guest


    Default

    Hello,

    try this

    http://sourceforge.net/project/showf...ackage_id=9390

    get the 2.2.1 version, it is a AMP program, (apache, Mysql, PHP)

    after launching the apache module, launch the Mysql-D-NT, this will load the mysql server

    This was designed for windows to skip a whole lot of headaches configuring apache and mysql

    Paul

Similar Threads

  1. mySQL 5 and PHP 5 problems
    By damnedpig in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 12-30-2006, 09:17 PM
  2. Compatible with PHP 4.33 and mysql 3.23
    By the_error_king in forum osCmax v2 Installation issues
    Replies: 6
    Last Post: 06-15-2005, 07:19 PM
  3. Problem with MySQL 4
    By SpongeBob in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 04-14-2005, 11:47 AM
  4. Error with Mysql...?
    By Ambrose in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-28-2002, 03:53 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •