Announcement

Collapse
No announcement yet.

Can't Install MySQL in Kubuntu

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't Install MySQL in Kubuntu

    I have Kubuntu 9.10 installed. I'm attempting to install MySQL server with the following command:

    sudo aptitude install mysql-server-5.1 mysql-common mysql-client-5.1 mysql-server-core-5.1


    It gets down to where it's shutting down the server, then says "FEDERATED is disabled" (I have no idea what FEDERATED is), then it says it's unable to lock ./ibdata1. On my system, ./ibdata1 doesn't exist. It also says to be sure that another MySQLD process isn't running. When I start the installation, I do a ps -a, and no mysqld process is running. When the installation starts to hang, I do another ps, and sure enough, there is a mysqld process running. At that point, it keeps spitting out the same error messages over & over until I ctrl/C out of it.
    Can anyone help me debug this? I've NEVER had this kind of trouble installing MySQL on other systems. I also tried to install via the software management gui, but that didn't seem to work either.
    Thanks,
    Peter V.
    Code:
    Tue Apr 20 11:58:22 EDT 2010                                                   
    / ->                                                               
    peterv@MBP17K<484>$: sudo aptitude install mysql-server-5.1 mysql-common mysql-client-5.1 mysql-server-core-5.1          
    Reading package lists... Done                                                   
    Building dependency tree                                                     
    Reading state information... Done                                                 
    Reading extended state information                                                
    Initializing package states... Done                                                
    The following NEW packages will be installed:                                           
     libdbd-mysql-perl{a} libdbi-perl{a} libhtml-template-perl{a} libnet-daemon-perl{a} libplrpc-perl{a} mysql-client-5.1      
     mysql-server-5.1                                                        
    0 packages upgraded, 7 newly installed, 0 to remove and 0 not upgraded.                              
    Need to get 0B/16.5MB of archives. After unpacking 38.9MB will be used.                              
    Do you want to continue? [Y/n/?]                                                 
    Writing extended state information... Done                                            
    Preconfiguring packages ...                                                    
    Selecting previously deselected package libnet-daemon-perl.                                    
    (Reading database ... 107596 files and directories currently installed.)                             
    Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.43-1_all.deb) ...                           
    Selecting previously deselected package libplrpc-perl.                                      
    Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...                               
    Selecting previously deselected package libdbi-perl.                                       
    Unpacking libdbi-perl (from .../libdbi-perl_1.609-1_i386.deb) ...                                 
    Selecting previously deselected package libdbd-mysql-perl.                                    
    Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.011-1ubuntu1_i386.deb) ...                       
    Selecting previously deselected package mysql-client-5.1.                                     
    Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.37-1ubuntu5.1_i386.deb) ...                       
    Selecting previously deselected package mysql-server-5.1.                                     
    Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.37-1ubuntu5.1_i386.deb) ...                       
     * Stopping MySQL database server mysqld                                          [ OK ] 
    Selecting previously deselected package libhtml-template-perl.                                  
    Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.9-1_all.deb) ...                        
    Processing triggers for man-db ...                                                
    Processing triggers for ureadahead ...                                              
    Setting up libnet-daemon-perl (0.43-1) ...                                            
    Setting up libplrpc-perl (0.2020-2) ...                                              
    Setting up libdbi-perl (1.609-1) ...                                               
    Setting up libdbd-mysql-perl (4.011-1ubuntu1) ...                                         
    Setting up mysql-client-5.1 (5.1.37-1ubuntu5.1) ...                                        
                                                                     
    Setting up mysql-server-5.1 (5.1.37-1ubuntu5.1) ...                                        
     * Stopping MySQL database server mysqld                                          [ OK ] 
    100420 13:56:59 [Note] Plugin 'FEDERATED' is disabled.                                      
    InnoDB: Unable to lock ./ibdata1, error: 11                                            
    InnoDB: Check that you do not already have another mysqld process                                 
    InnoDB: using the same InnoDB data or log files.                                         
    100420 13:56:59 InnoDB: Retrying to lock the first data file                                   
    InnoDB: Unable to lock ./ibdata1, error: 11
    PETERV<br />17&quot; MacBook Pro - Snow Leopard<br />OS&#39;s: Snow Leopard 10.6.4/Kubuntu 10.04/Windows XP Pro SP3<br />Parallels 5.0<br />2.5 GHz Intel Core 2 Duo 4GB SDRAM<br />WD 1TB My Book Studio quad-interface External Drive

    #2
    Re: Can't Install MySQL in Kubuntu

    Take a look at post #25 here:

    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539479

    Comment


      #3
      Re: Can't Install MySQL in Kubuntu

      I've NEVER had this kind of trouble installing MySQL on other systems
      I successfully installed Mysql on my computer last month with aptitude, so I think your problem is not general.
      Kubuntu 16.04 on two computers and Kubuntu 17.04 on DELL Latitude 13

      Comment

      Working...
      X