make_sandbox_from_installed doesn't work with ubuntu packaged mysql

Bug #546180 reported by ntucker
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MySQL Sandbox
Confirmed
Undecided
Unassigned

Bug Description

the binary path for mysqld in ubuntu karmic is /usr/sbin/mysqld. make_sandbox_from_installed concludes that mysqld is not installed and fails. Note that I tried adding /usr/sbin to the list of "prefixes" it looks at but it still failed (I didn't debug any further; sorry).

I realize you probably can't fix this for every funny filesystem layout, but at least some clear instructions about how to build my own "preinstalled" directory that it can look in and find my binaries. Due to some changes to ubuntu 9.10 (removal of libstdc++5), the tarball versions of mysql will no longer run because they are dynamically linked to libstdc++5, which ubuntu won't support or provide.

Revision history for this message
Giuseppe Maxia (giuseppe-maxia) wrote :

Hi,
Thanks for your bug report.
I tested the installation on Ubuntu 10.4 beta, and I noticed that, in addition to mysqld being in /usr/sbin (easily fixed) there are a few more issues:
* there is no mysqld_safe script anymore, because Ubuntu has moved to upstart.
* mysql_install_db fails for some yet unknown reasons, which I need to investigate.

Therefore, I think I will have to deprecate this script, unless I find a clean way of making it work in the main Linux distributions.

Changed in mysql-sandbox:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.