SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Apr 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Locating existing MySQL installation

    Hi,

    I am attempting to do a clean install of MySQL and PHP on my debian server. I did not do the initial Linux installation, so I am not sure exactly how everything is configured. I know that it was not installed in usr/local or similar and was having problems getting to work.

    So I want to locate all existing MySQL (and PHP) installations so that I can remove them, and start fresh with them properly installed and configured.

    I did the following:

    shell#apt-get remove mysql-server
    shell#apt-get remove mysql-client
    shell#apt-get remove php4
    shell#apt-get remove php5

    ...which seemed to work, so I download the MySQL 5.0.51a Linux (x86, glibc-2.2) package, uploaded it to usr/local, installed, and then attempted to start the server and got the error message:

    080408 5:46:00 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
    080408 5:46:00 [ERROR] Do you already have another mysqld server running on port: 3306 ?

    So I guess my old MySQL installation was not removed.

    Does anyone know how I can find it and remove it for good?

    I have tried:

    find * mysql (no such file or directory? although I see it in the results?)

    and

    #rpm -qa | grep mysql (after using apt-get to install rpm)

    and nothing happend...

    Please help?

  2. #2
    SitePoint Member
    Join Date
    Apr 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Forget it, I figured out the way it was setup by digging through the CFG files and piecing together other bits of info, and somehow i got it working

  3. #3
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,644
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    jb,

    While it's great that you sorted the problem out for yourself, please allow me to WELCOME you to SitePoint's Apache Forum anyway!

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


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
  •