Mysql in chroot possible on Leopard?

Has anyone successfully installed mysql from fink into a chroot on OSX? If so, how? The reason I ask is, I want to be able to accidentally wreck the mysql installation and simply wipe the chroot dir to start over from scratch if I want to. If there is a better way to do this, I'm open to suggestions.
As it is now, I installed mysql from fink and received and error message that lead me discover mysql.sock was never created. I wanted to uninstall mysql and run the installation proceess again, however, now there are mysql files all over the place and I can't figure out how to uninstall it. I tried dselect and "sudo fink remove mysql", neither of which appeared to work. If anyone could help me clean mysql from Leopard ( beyond "rm /sw/bin/mysql*" ), as well, that would be appreciated.
Thank you.

1. I can't find the hidden file .profile - I have already used TextWrangler to browse though my folders and I still couldn't find it.
It's entirely possible, and valid, for there to be no ~/.profile.
If that's the case, just create it.
2. No Terminal command mentioned in the file seems to work. All of them return error messages.
Can you give an example, including the error message. The error message will go a long way to explaining why it didn't work.

Similar Messages

  • MySQL Workbench on Remote Snow Leopard Server

    How do I connect to MySQL on Snow Leopard Server using Workbench ???
    I have freed up some of the permissions, such as port 3306, in the firewall section of Admin. However,
    this has not done the job and need to keep a firewall on a server running remotely. It is necessary to connect to MySQL before you install the database. It is needed because you must connect to the server in order to install the database enabling the script of the SQL file. I get an error that says: "Lost connection to MySQL server at 'reading initial communication packet,' error 61." This happens when I press the button in Workbench that says: "Test Connection." I can go into MySQL and enter a password and create a database. This is necessary to load the actual data at a later time. I am also using Cold Fusion. This, too, is waiting for a connection to the MySQL server from Workbench.
    Any ideas ???? Thx, Ted

    If this is Adobe Workbench as I might suspect, that's probably the wrong tool to use for troubleshooting connections and related.
    Try [Sequel Pro|http://www.sequelpro.com> or another similar tool.
    If you're running remotely via VPN, that adds additional complexity to the configuration. As part of both local and particularly remote testing, using light-weight diagnostics (such as ping) would be warranted. This before running any juggernaut-class packages over the link.
    (Put bluntly, very few juggernaut-class software packages from most any vendor will generate decent diagnostics for network errors.)

  • Create MySQL database for WordPress on Leopard - How to?

    Hi, folks.
    I've been trying to install WordPress using this tutorial http://www.tech-recipes.com/rx/2757/leopardhow_to_installwordpress/ but I've been facing two major problems:
    1. I can't find the hidden file .profile - I have already used TextWrangler to browse though my folders and I still couldn't find it.
    2. No Terminal command mentioned in the file seems to work. All of them return error messages.
    Could anyone help me to figure this out or simply tell me an easier way to install WordPress on Leopard?
    Cheers.
    JP

    1. I can't find the hidden file .profile - I have already used TextWrangler to browse though my folders and I still couldn't find it.
    It's entirely possible, and valid, for there to be no ~/.profile.
    If that's the case, just create it.
    2. No Terminal command mentioned in the file seems to work. All of them return error messages.
    Can you give an example, including the error message. The error message will go a long way to explaining why it didn't work.

  • ARD Access with enabled Firewall not possible  under Leopard

    I got a network and my clients are running mostly Mac OS X 10.5.8 Leopard. When the Firewall is on i am not able to connect with Apple Remote Desktop even though the Firewall automatically enables the ARD service. Does anyone know what to do? My 10.4.11 Tiger clients do not have the same issue.

    Try the ARD forum under Server Products.

  • Is it Possible with Leopard?

    Is it possible to run a MacMini (with no screen conected) tru screen sharing on a iMac 24" over firewire network?
    if so, can we use in the Macmini a screen resolution of say... 1900 x 1200 ?

    samuelfromcamden wrote:
    Why is it illigal if you bought the software? It makes no sense.
    You buy a Dell Windows PC and it comes with a OEM version of Windows and you can't use that on another machine neither.
    If you pay $300 for Windows 7 you can place it on any PC you want, but still only one copy.
    Apple doesn't sell it's OS for any computer, they only provide it as part of the hardware they are selling.
    Apple is a hardware company that also makes great software to run on that hardware as a complete package so it runs better and more reliable.
    So it's a different business model, and to protect that business model so it works requires software use licenses.
    If you want something that looks like OS X and is reliable, no viruses and runs on generic PC's then look at MacBuntu Linux. It's free.
    I have it running here in my virtual machine program, but you can use the free VirtualBox to run the free Macbuntu right on your Windows PC until your familiar with how to dual boot your Windows machine and install it in a partition next to Windows.
    http://www.virtualbox.org/
    http://www.oslike.se/
    Macbuntu is a OS X like theme on Ubuntu Linux, so you'll have to learn all about Linux at Ubuntu first.
    You can install Ubuntu and then change it to MacBuntu as well.
    http://www.ubuntu.com/

  • Logic 8 and possible Snow Leopard Issue

    Ok folks, this is my first post/problem on the apple discussion boards....here it goes. Hopefully someone can tell me what my problem:
    Specs: MacBook Pro 2.33GHz Intel Core 2 Duo, 2GB 667 MHz DDR2 SDRAM: Operating on Snow Leopard.
    Logic Pro 8.0.2; Lexicon Omega USB as the core audio.
    Problem: First of all, I work primarily with MIDI and some vocal audio. Ever since I installed snow leopard on my computer Logic has been giving me a lot of problems. My CPU can't even handle one VST plugin with a couple effects on it now. Sometimes even just playing an instrument, one of the ram sticks will spike and either crash logic or say it's overloaded and cut out the audio. This happens either with a single instrument, or with a sequence I created, it can't play the loop back all the way through without saying "core audio overload". I primarily use Komplete 5 software instruments by Native Instruments, and I know these eat up CPU but it was never like this before I installed Snow Leopard. I tried dumbing down the I/O buffer size, and process buffer range, but none of these seem to make a difference. Why is it only one CPU bar that spikes? I'm not running anything else on the computer at the time. Is 2GB of ram not enough anymore?
    One more issue that might help someone troubleshoot this...actually playing the instruments isn't as much of an obstacle as playback. Also, any session that I've made under the old operation system, if I try and open it up and play it, it either overloads IMMEDIATELY or the actual software instruments don't play, and the only way to make them play is to rewire them by taking them off and putting them back on again.
    I can usually troubleshoot these things myself but for some reason I'm scared that it's a RAM issue and that I will need to buy a new computer to continue my producing. Because 2 is as high as this macbook goes, right? I hope it's just a USB thing and I need to upgrade my interface or switch to firewire.
    Can anyone offer some advice or a solution to this problem?
    Thanks,
    J

    wow, thanks guys.

  • MySQL, to chroot jail or not?

    I didn't know that it was ever considered to be worth it.  This is not a common practice, even in large firms I am not aware of anyone doing this. I saw not worth it.

    Hey Guys,
         We're moving to a new host for our VPS and it's a different OS, (Ubuntu, we're coming from CentOS). 
         On our previous server we chroot jailed mysqld. but now I've been doing some research and there's a bunch of people out there that say it's not even worth it to do it anymore.
         Do you guys think this is true? Should I waste my time setting up the chroot jail? or should I just install it like any other application on the server base?
    This topic first appeared in the Spiceworks Community

  • MySql Database set up on Snow Leopard Server for Wordpress

    I am trying to set up a mySql database on the snow leopard server in order to install wordpress.
    I have played around with the MySql database settings (in the server admin window) but can't seem to figure out how to set the database name, username, and password within the Snow leopard server.
    Do I need to use third party software like Navicat to create the database and user names etc? If yes, any idea how to do that? If now, how do I create a MySql database, username and pw?
    I have put the Wordpress install folder on my Snow leopard server. When I navigate to my domain it says I need to configure wordpress by providing my database name, username and password.
    Thanks in advance.. I am struggling here.

    That's set up via the [MySQL command line|http://labs.hoffmanlabs.com/node/376]. Or you can install the (free) Sequel Pro GUI package, given you're probably more comfortable in the GUI. The steps required for Mac OS X Server are the same as most any other platform, so [launch the MySQL client per the Wordpress Codex|http://codex.wordpress.org/Installing_WordPress], and follow the instructions.

  • Snow Leopard and hosting Ruby Rails: mysql problem

    Hi, I'm just starting to look at ruby rails hosting on my 10.6.1 server. I have been working through the Apple tutorial "deploy rails on leopard" ( http://developer.apple.com/tools/deployonrailsleopard.html ).
    I have hit a problem with Capistrano attempting to use the Ruby MySql gem on the Snow Leopard server. The error is "The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql"
    Now, after much googling I have found a number of folks struggling to get the Ruby MySql gem working on 10.6 Clients. Mostly the suggestions involve installing a newer version of MySql and setting the compiler options during gem build.
    I'm a little nervous of just trying to mimic this approach on a server system. So I have a two part question:
    1. Has anyone found good documentation for setting up Ruby Rails on Snow Leopard server?
    2. Has anyone found good documentation on getting the Ruby MySql Gem running on 10.6 server?
    many thanks in advance, Jonathan

    it should work the same way as on 10.6 client.
    you might try this approach:
    http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/

  • Updating mysql and rsync on leopard server.

    I would like to update to the latest versions of both mysql and rsync on a leopard server. There are already pre-installed versions from the original OS install. I am looking for the best practice approach here. Do I remove the pre-installed first or do I just install the latest builds over what is there? I tried installing mysql over the older version but it installed in a different directory than the original. And since Mysql exists in Server Admin, how will my updating affect it's operation here in Server Admin? If I remove both applications, how to best do this via command line to make sure I get everything, including older man pages? I also want to make sure I can access both applications by just typing the command name at a prompt. I believe I have to add the path to my bash shell somehow. I'm doing this just for my own education and not for a critical need. I would like to know how to properly do this but all I find on the net is installing instructions. Thank you.

    If you want to use Server Admin to manage your server then stick with the pre-built applications shipped by Apple. Server Admin won't ever know to manage applications installed elsewhere.
    If you want to build and install your own I'd recommend installing in parallel, in a separate directory from the Apple-provided versions. If you don't then some of your apps are going to get overwritten by some future system update (e.g. if Apple include an updated version of rsync in a system update, it will likely replace your version).

  • Jumping from 10.3.9 to OS X Leopard. Possible???

    Jumping from 10.3.9 to OS X Leopard. Possible???
    Posted: Oct 27, 2007 8:03 PM
    Reply Email
    Hello. My son bought the latest iPod which only works with Mac OS 10.8 or something, and I've never yet updated from 10.3.9. To make him happy, I bought Leopard last night and it was supposedly installing for at least an hour before I ejected the disc - it was taking too long (or was it?).
    Folks, I'm no techie, just a graphic artist whom loves his MAC.
    What am I doing wrong? Should I have more patience? Or should I have been updating all along the line to get to Leopard? It was already past 9PM and I just missed out on calling support, so any and all help appreciated. Thanks!
    SteveR

    Updating takes more than an hour no matter what version you already have. Ejecting the disk during installation is not a good idea.
    If possible, install Leopard on a different partition or hard drive so that you can keep working in your current version in case something goes wrong. When Leopard is stable and well-behaved (perhaps not until after a few months of fixes by Apple and you updating your other software to Leopard-compatible versions), then you can back up all your user files, clone Leopard onto your main startup drive and copy back your user files afterward.

  • Does Time Machine back up MySQL database?

    My medical practice billing software runs on MySQL. I upgraded to Leopard specifically to enable Time Machine backups - more frequent than nightly backups, with recovery much faster in the event of problems in the middle of a busy day. The software vendor tech rep stated that the MySQL database is not backed up by Time Machine. That seems very strange, since it backs up all the System files and everything else not specifically excluded. Am I missing something?

    I don't understand what he said. It sounds like something to do with the Exclude list of TM preferences. Are you only backing up the MacPractice folder or is TM backing up your entire hard drive? What it reads to me is that if you backup only the MacPractice folder that the folder does not include the MySQL database. That is correct since MySQL creates the database file in its own special folder. But if you backup the entire hard drive then everything is backed up including the database files.
    BTW, since this is a business entity I would strongly advise that you not rely entirely on Time Machine backups. TM can be finicky and unreliable. Potential problems escalate when you use a Time Capsule because of the mechanism TM uses for backing up networked drives such as TC.
    I would recommend you use another backup utility and do additional backups to other external or internal drives depending upon what your computer supports. You should also make at least one separate full backup archive monthly that can be stored off-site in the case of theft, vandalism, storm, earthquake, or other hazard that could result in loss of data. See the following:
    Basic Backup
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    1. Retrospect Desktop (Commercial - not yet universal binary)
    2. Synchronize! Pro X (Commercial)
    3. Synk (Backup, Standard, or Pro)
    4. Deja Vu (Shareware)
    5. Carbon Copy Cloner (Donationware)
    6. SuperDuper! (Commercial)
    7. Intego Personal Backup (Commercial)
    8. Data Backup (Commercial)
    The following utilities can also be used for backup, but cannot create bootable clones:
    1. Backup (requires a .Mac account with Apple both to get the software and to use it.)
    2. Toast
    3. Impression
    4. arRSync
    Apple's Backup is a full backup tool capable of also backing up across multiple media such as CD/DVD. However, it cannot create bootable backups. It is primarily an "archiving" utility as are the other two.
    Impression and Toast are disk image based backups, only. Particularly useful if you need to backup to CD/DVD across multiple media.
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore. Also read How to Back Up and Restore Your Files.
    Although you can buy a complete FireWire drive system, you can also put one together if you are so inclined. It's relatively easy and only requires a Phillips head screwdriver (typically.) You can purchase hard drives separately. This gives you an opportunity to shop for the best prices on a hard drive of your choice. Reliable brands include Seagate, Hitachi, Western Digital, Toshiba, and Fujitsu. You can find reviews and benchmarks on many drives at Storage Review.
    Enclosures for FireWire and USB are readily available. You can find only FireWire enclosures, only USB enclosures, and enclosures that feature multiple ports. I would stress getting enclosures that use the Oxford chipsets (911, 921, 922, for example.) You can find enclosures at places such as;
    Cool Drives
    OWC
    WiebeTech
    Firewire Direct
    California Drives
    NewEgg
    All you need do is remove a case cover, mount the hard drive in the enclosure and connect the cables, then re-attach the case cover. Usually the only tool required is a small or medium Phillips screwdriver.

  • HP psc 2175xi Scanning Mac OS X Leopard 10.5.8

    According to the information at the web pages for the HP psc 2175xi AIO, scanning is not possible with Leopard 10.5 and later using the HP Scan Pro package.
    I got it to work.
    Powermac G5:
    Leopard 10.5.8
    512MB RAM
    250GB SATA HDD
    DVD-RW PATA interface
    Downloaded the software for the psc 2170 series all-in-ones:
      http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-42188-1 &cc=us&dlc=en&lc=en&os=219&product=90812&sw_lang=
    - Direct link to .dmg file, 101.28MB:
      http://ftp.hp.com/pub/softlib/software7/COL15886/mp-42188-1/2170_790_EN.dmg
    Extracted the .dmg file then ran the installer.
    Tried to launch various applications in the resulting Hewlett-Packard folder, but an immediate crash always resulted.
    Next, launched Disk Utility then executed Repair Permissions. Restarted the Powermac.
    I was then able to scan using HP Scan Pro, no problems or crashes. All other included apps also ran fine.
    NOTE: With the Powermac G5 repair permissions took a really long time, so be very patient.

    You need to install it from a retail Mac OS X 10.5 DVD. If you don't have the disk which was originally used to install the OS, buy one from a source such as Amazon or eBay.
    (82734)

  • How Install MySQL on Air w/OS 10.6.5 -- For New, Former WinTel User?

    This new MacBook Air (and former WinTel) user welcomes (with appreciation) your *detailed suggestions* regarding installing +MySQL Community Edition 5.5.8+ (I have downloaded mysql-5.5.8-osx10.6-x86_64.tar.gz;, it's sitting in my "Downloads" directory)--then configuring MySQL to work with Snow Leopard's pre-installed Apache Server (pre-installed...and how cool is that?!).
    E.g., I assume that I should not un-tar the download in the Downloads folder...yet I don't know enough about Mac OS to understand where to move the .tar file to. Once the .tar file has been moved to ( where? ), and un-tarred...then what? Is there an installer? How does the installer work? The MySQL instructions refer to a file structure which is quite different from what's on my MacBook Air. Are there a lot of Symbolic Links in Snow Leopard? If so, how & where are Symbolic Links managed? Do I need to provision any SymLinks to get MySQL to work?
    Many, many thanks!
    +Plane Wryter+

    Do not install the entropy MySQL. It is years old. To quote Marc Liyange himself on that page:
    Since version 4.0.11, I am no longer building (from source code) and hosting the MySQL binary packages because the people at MySQL started to provide very nice official binary packages
    Plane Wryter wrote:
    E.g., I assume that I should not un-tar the download in the Downloads folder...yet I don't know enough about Mac OS to understand where to move the .tar file to. Once the .tar file has been moved to ( where? ), and un-tarred...then what? Is there an installer? How does the installer work?
    Go ahead and unarchive that file right in Downloads. It should be a binary installer that you can double-click to install.
    The MySQL instructions refer to a file structure which is quite different from what's on my MacBook Air.
    Really? How so?
    Are there a lot of Symbolic Links in Snow Leopard? If so, how & where are Symbolic Links managed? Do I need to provision any SymLinks to get MySQL to work?
    Yes. Symbolic links are managed by the OS. You shouldn't mess with them.
    While MySQL does not provide a binary installer, the actual software they install does not use modern MacOS X architecture. I haven't tried version 5.5. Hopefully they have improved it, but probably not. You will need to create a launchd script to run MySQL at startup.
    Instructions and the most recent information are available in this thread: http://discussions.apple.com/thread.jspa?messageID=12229472&#12229472

  • Mail (in Leopard) and Shared Accounts?

    Not sure whether anyone's encountered this before, and my search of this and other forums hasn't turned up anything directly on point, but here's hoping:
    In our company, everyone has his/her own IMAP account: [email protected].
    Many of us work on the same projects/transactions, but not everyone is copied on the same e-mails. Rather than forwarding e-mails, etc., we established a new IMAP account (to which all users subscribe), called [email protected]. The SharedMatters account started off with approximately 15 or so separate mailboxes, but now has upwards of 200. As we receive mail in our own personal accounts that pertains to a project, we just move it to the appropriate mailbox in the SharedMatters account. Initially, the amount of e-mails in the mailboxes/folders wasn't all that great (and mailboxes were regularly archived when a project ended/transaction closed). Now, however, the amount of e-mails, together with the size of the attachments, is staggering.
    To enable each user to be able to search the contents of the various mailboxes, the advanced preference "Keep copies of messages for offline viewing - All messages, but omit attachments" has been selected.
    The problems with the setup above are: (a) the drain on the network is more than taking its toll: everyone has a local copy that is continuously indexed across all computers; the more people join, the worse it gets; (b) storage of the SharedMatters account on the individual computers (particularly laptops) is getting to be a problem; and (c) because of the synching issues (drain on network), folks are beginning to be irritated and not use a system that, at its core, is extremely helpful.
    The question is whether there's a better way to set this up (or whether there's a product that can do this). I know that in a Windows environment, you could use "Public Folders" in Outlook and, if you weren't logged in to the network, you couldn't see/read/search the e-mails. That result would be fine now, except I'm not sure whether that's possible in Leopard/with Mail. No one here is truly wedded to "local storage" of the e-mails (i.e., they're fine with having to log in and don't mind not having the ability to search/look at e-mails when they're not logged into the system); searching the text of the e-mails when you're logged in, however, is absolutely critical (and searching the attachments too would be great).
    With a couple of exceptions, we're all using Leopard (10.5.6) and Mail (3.5.2).
    Any help would be more than greatly appreciated.

    how have you upgraded to leopard? can you search in spotlight for one email you cannot find in Mail, and do you find it? if so what is the path, where is it located on your hard drive?
    let me know

Maybe you are looking for