Bug #31828 Cannot install because "server is running" even though there is no mysql
Submitted: 24 Oct 2007 23:37 Modified: 29 Oct 2007 14:12
Reporter: Mauricio Carneiro Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:5.0.45-os10.4-i686 OS:MacOS
Assigned to: CPU Architecture:Any
Tags: install, PACKAGE

[24 Oct 2007 23:37] Mauricio Carneiro
Description:
I have never successfully installed mysql on this machine, but I had some failed attempts, including one from source code, in the past. 

The error I'm receiving is the "There is nothing to install" from the packaged installation. When I installed the Pref.Pane component, It says that: 

"The MySQL Server Instance is running" 

but doesn't give me a stop button. Instead, the "Start MySQL Server" button is there. 

I checked thoroughly my entire system and there isn't any file regarding a mysql installation, or at least nothing with the name "mysql" on it. I tried to install the StartupItem to stop de server, but it says it cannot find the MySQL startup script!

Is there some sort of lock file that locked my installation in a "running" state? And is this the reason why the installer says "nothing to install" ?

I'm unable to install mysql for months now because of this. 

How to repeat:
I am not sure if a failed install attempt generated the "runing" state, but I don't remember having any attempt going past the "there is nothing to install" screen, except the one I made from source code. But I had the same error before that.
[25 Oct 2007 8:09] Sveta Smirnova
Thank you for the report.

Please open your Terminal, run command `find / -name mysql* 2>/dev/null` and provide us output.
[25 Oct 2007 16:49] Mauricio Carneiro
mauricio-carneiros-computer:/Users/carneiro root# find / -name mysql* 2>/dev/null
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/lib/ruby/gems/1.8/doc/activerecord-1.15.3/rdoc/files/lib/active_record/connection_adapters/mysql_adapter_rb.html
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/lib/ruby/gems/1.8/doc/activerecord-1.15.3/rdoc/files/lib/active_record/vendor/mysql_rb.html
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/lib/ruby/gems/1.8/gems/actionwebservice-1.2.3/test/fixtures/db_definitions/mysql.sql
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/mysql_adapter.rb
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/vendor/mysql.rb
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/lib/ruby/gems/1.8/gems/activerecord-1.15.3/test/fixtures/db_definitions/mysql.drop.sql
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/lib/ruby/gems/1.8/gems/activerecord-1.15.3/test/fixtures/db_definitions/mysql.sql
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/lib/ruby/gems/1.8/gems/activerecord-1.15.3/test/fixtures/db_definitions/mysql2.drop.sql
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/lib/ruby/gems/1.8/gems/activerecord-1.15.3/test/fixtures/db_definitions/mysql2.sql
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/lib/ruby/gems/1.8/gems/rails-1.2.3/configs/databases/mysql.yml
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/lib/ruby/site_ruby/1.8/i686-darwin8.9.1/mysql.bundle
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/doc/activerecord-1.15.3/rdoc/files/lib/active_record/connection_adapters/mysql_adapter_rb.html
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/doc/activerecord-1.15.3/rdoc/files/lib/active_record/vendor/mysql_rb.html
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/actionwebservice-1.2.3/test/fixtures/db_definitions/mysql.sql
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/mysql_adapter.rb
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/vendor/mysql.rb
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.15.3/test/fixtures/db_definitions/mysql.drop.sql
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.15.3/test/fixtures/db_definitions/mysql.sql
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.15.3/test/fixtures/db_definitions/mysql2.drop.sql
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.15.3/test/fixtures/db_definitions/mysql2.sql
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/rails-1.2.3/configs/databases/mysql.yml
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/site_ruby/1.8/powerpc-darwin8.8.0/mysql.bundle
/Applications/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/Support/lib/connectors/mysql.rb
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_client_test.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_config.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_convert_table_format.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_create_system_tables.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_explain_log.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_find_rows.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_fix_extensions.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_fix_privilege_tables.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_install_db.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_secure_installation.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_setpermission.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_tableinfo.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_tzinfo_to_sql.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_waitpid.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysql_zap.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqlaccess.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqladmin.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqlbinlog.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqlbug.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqlcheck.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqld.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqld_multi.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqld_safe.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqldump.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqldumpslow.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqlhotcopy.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqlimport.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqlman.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqlmanager-pwgen.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqlmanager.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqlmanagerc.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqlshow.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man1/mysqltest.1.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man5/mysql_table.5.html
/Developer/ADC Reference Library/documentation/Darwin/Reference/ManPages/man8/mysqld_manager_options.8.html
/Library/PreferencePanes/MySQL.prefPane/Contents/Resources/mysql_logo.png
/Library/Receipts/mysql-5.1.21-beta-osx10.4-i686.pkg
/Library/Receipts/mysql-5.1.21-beta-osx10.4-i686.pkg/Contents/Resources/English.lproj/mysql-5.1.21-beta-osx10.4-i686.info
/Library/Receipts/mysql-5.1.21-beta-osx10.4-i686.pkg/Contents/Resources/mysql-5.1.21-beta-osx10.4-i686.bom
/Library/Receipts/mysql-5.1.21-beta-osx10.4-i686.pkg/Contents/Resources/mysql-5.1.21-beta-osx10.4-i686.sizes
/Users/carneiro/Desktop/mysql-5.0.45-osx10.4-i686.dmg
/usr/share/man/man5/mysql_table.5
/usr/share/vim/vim62/syntax/mysql.vim
[29 Oct 2007 10:29] Sveta Smirnova
There are parts of previous packages installed on your system. So this is not MySQL bug.

To method how to solve the problem see comment "[22 Oct 22:15] Ambrose Ferber" to bug #30881
[29 Oct 2007 14:12] Mauricio Carneiro
Thank you, I deleted the /Library/Receipts mysql entries and it worked.