www.webdeveloper.com
Results 1 to 13 of 13

Thread: MySQL problems... again

  1. #1
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004

    MySQL problems... again

    Greetings and Salutations.

    I am once again, with the help of another book, attempting to install Apache/PHP/MySQL on my box.

    I am installing MySQL first, and I have run into a problem: when I try to start the service, I get an error that says the system couldn't find the path specified. I checked the path, and it's pointing to something that doesn't even exist. So I have to change it - but I don't know how. So how exactly would I go about changing the path to the MySQL executable? It's currently “C:/FoxServ/mysql/bin/mysqld-nt.exe” but it should be “C:/mysql/bin/mysqld-nt.exe
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

  2. #2
    Join Date
    Mar 2004
    Location
    London, UK
    Posts
    342
    ...try my.ini
    it is in the winnt folder (hopefully)

    Mine is c:\winnt\my.ini

  3. #3
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    I'm on XP Home, so it's C:\WINDOWS\my.ini
    There was an old my.ini file there, which I replaced because the book says to create one if you move the myql folder from where it's defaultly placed. I figured I'd create the file to make sure everything was pointing to the right place, but unless I have to restart to have it take affect, that didn't help.
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

  4. #4
    Join Date
    Jan 2004
    Posts
    128

    non mysql forum

    umm. i don't know if this would help but if ur interested i found a great forum that does not require mysql, myupb.com/ourscripts_upb.php

    that way u only need to get apachie and php working in conjunction.

    btw: i have also had problems with foxserve and miniportal, i suggest installing apachie 1.3 from their website and using this tutorial to install php (the tutorial actually takes you through the entire process of apache through php)

    hope this helps
    Last edited by akadis; 04-06-2004 at 10:21 AM.
    Please review my website

  5. #5
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    The reason I am installing PHP/Apache/MySQL is so I can learn these things without having to pay 40 bucks a year. So I don't require a forum at all, whether it uses a DB or not.

    I am installing Apache, but I did install Abyss a while back, and I still have it, but I'm going to stick to Apache.

    I've seen that tutorial before, but unfortunately it doesn't help me, since it only deals with PHP and Apache, and the only trouble I've ever had is with MySQL.
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

  6. #6
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    I really hate to bump this, but it's imperative I get this problem resolved.
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

  7. #7
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    I posted my question at the dBForums several days ago, and received a reply that solved my problem. Thanks to all who helped me here.
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

  8. #8
    Join Date
    Jan 2004
    Posts
    128

    hey what was the answer????

    i have had problems as well i just about gave up with mysql
    can u tell us?
    Please review my website

  9. #9
    Join Date
    Nov 2003
    Location
    Long Island
    Posts
    822
    my free host i had for 3 years wasnt running when i tried to go to my webpage today. Looks like ill have to set up php,apache,mysql but i ahve no idea how to

  10. #10
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    The old path must've been one from one of my previous installations, so it was suggested to me to uninstall the service with
    mysqld-xxxx --remove
    and then reinstall it with
    mysqld-xxxx --install
    I don't know how that worked, but it solved my problem.

    Sadly, I am now having a PHP problem.


    Refresh, I'd suggest to either get a PHP/MySQL that deals with the installation, or check out some of these links for some info. Good luck!
    Last edited by Paul Jr; 04-09-2004 at 05:32 PM.
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

  11. #11
    Join Date
    Nov 2003
    Location
    Long Island
    Posts
    822
    ok i got apache and php installed and i want to test the

    <?php
    phpinfo();
    ?>

    i have this at the bottom of my httpd.conf file

    ScriptAlias .php/ "c:/php"
    AddType applications/x-httpd-php .php.phtml
    Action application/x-httpd-php "/php/php.exe"

    where do i save my php files!

  12. #12
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    See my post in your other thread.
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

  13. #13
    Join Date
    Oct 2003
    Location
    The Dryer
    Posts
    538
    save all your php files in the /htdocs dirrectory.

    access them by going to http://localhost/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles