Getting MySQL to work on Mac OS X Server v10.4

Hi,
I am having trouble with running MySQL 4 on Mac OS X Server 10.4. (While the other application I will be installing works with both versions 4 and 5 of MySQL, I just thought it might be easier to get 4 working since it is the default version that comes with the OS.) I have launched "/Applications/Server/MySQL Manager.app", pressed the install button, then pressed the start button. By pressing the button, I am able to toggle visually between start and stop modes within the GUI. However, upon further inspection, MySQL doesn't seem to be actually running. At the terminal, I get:
$ which mysql
/usr/bin/mysql
$ ls /usr/local
ls: /usr/local: No such file or directory
$ ps -ax | grep mysql
3489 p2 R+ 0:00.00 grep mysql
$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (13)
Any ideas as to what I might be doing wrong?

Actually, this problem is only partially solved. I still get "Can't connect to local MySQL server through socket '/var/mysql/mysql.sock..." when I type 'mysql'. I can access mysql by typing 'sudo mysql', but still get the socket error when connecting via php, so I think I still need to get to the point where I can type mysql without sudo.
Also, I went ahead and installed MySQL 5 with the tar package.
Message was edited by: rabbitdog

Similar Messages

  • How do you get SSL to work on Mac OS X Server 10.5.8?

    Hi, I have created a SSL certificate (twice with the server admin tools and once with the openssl command) and I get this in the log of the apache web service:
    [error] Init: Pass phrase incorrect
    I have searched but aside from changing the httpd.conf file to not use:
    SSLPassPhraseDialog exec:/etc/apache2/getsslpassphrase
    and instead echo a generic passphrase, I don't know what to do. I have not tried this btw. It seems the wrong answer, even if it works.
    I have also seen to uncheck the performance cache option in the sites, option pane, but 10.5 does not have this and I don't know if it exists in a config file somewhere.
    Does anyone know how to get SSL working on the mac leopard server? it's a stock, advanced install.
    Thank you for any help.

    Easiest way is to not use a passphrase on the cert. It isn't required and can be left blank. That way apache doesn't need to know it and will use the certificate.
    Of course, this means you need to manage access to your certificates, but that should be the case anyway.

  • Get ident to work on Mac Snak IRC software in OS 10.6

    I am trying to get ident to work on Mac Snak IRC software on Mac OS 10.6. I installed their optional ident software. But, the IRC server always reports no ident response. I tried enabling port 113 on the router, even tried turning the firewall off, but it still doesn't work. Anyone have a solution to this?
    thanks, Kevin

    E-mail: support AT snak.com and replace the AT with an @

  • Mac O X Server v10.39 troubleshooting start up.  'console mode' screen

    I have recently made use of my old *G4 400 mhz* desktop mac, by installing an old version *Mac O X Server v10.39*, to use as home server. The installation has gone well and the server has been working well for over a week, the users and shared points have all been set and there hasn't been any problems. It is now running headless and I am controlling it via Apple Remote Desktop, I have also set the energy setting preferences to put the server to sleep at 10 pm each night. I also have three other family macs which are connected and configured to use the server.
    But today I have tried to wake the server via ARD, but it wouldn't wake up and also when I have tried to getting it to manually awake up it doesn't work either, even though the front light is on.
    I then have then pressed the small reset button on the front of the G4 and now when it boots up, after seeing it go through the start up screens and once the progress bar has reached the end, the screen then goes to a black screen with the words:
    Darwin/BSD (Server name) (console)
    login:
    This is were I'm stuck, I have no knowledge of the Terminal scripts etc.
    But I have tried the put in the servers name, then pressed return, at this point the next line came up as
    password:
    After entering the administrators password, the screen then goes to a plain blue screen.
    Can anyone tell me what I need to do to get passed this stage in booting up, or what I am doing wrong and how I can correct this situation.
    Many Thanks

    Hello !
    Remade an new install with a FQDN* (yourhost.yourdomain.com) hosted by your provider with a A and MX (if you plan to use mail setvices) records pointing on your host
    Too : it's imperative to enter a valid ip on your eth. link (no public adresse : like as 10.x.x. or 192.168.X.X on your en0
    Even it's possible to setup like this, you must configure your router or firewall ... but much complex ! (Port mapping ... virtual server ... etc.. DMZ if you have ... ???)
    Install a second eth card is good think :
    1 for the wan link on the EN0
    the other for the lan EN1
    with a "real" domain name and the ip supplied by your provider : you can setup your server with this public ip on your wan and a 10-net on your lan.
    (Your dns request will be forwarding to the DNS IP servers of your ISP : one line in option of the named.conf file)
    Before you can install the software with your ISP setup (DNS and domain name) : But don't launch any services !!! nothing ! all off !
    upgrade your os x software before setup via pref panel ..
    at tis time, you got an local acces who is accessible via yourhostname.local and once you have the necessary described (domainname.xx hosted and public ip adress you can setup the services by runnig "Gateway Tool" to start DNS, NAT, DHCP and VPN services.
    The Firts step is OK !
    After you can finish the setup with in first : The DNS forwarding
    Once you hosname and reverse resolving : you will be able to jump to the next !
    But before you must get a perfectly lookup of your hostame and ip addr
    (You can setup your DNS as a primary server ! Bind 9.2.2 run well ! but ... not really easy without a goot practice of bind and a good overview of Domain Name basics ... and insecure for your data ; DNS crashed = O.D. dead and access data under LDAP denied and lost !)
    good luck !
    G4(s)  Mac OS X (10.3.9) - X4 

  • HT3854 Not applicable in Mac OS X Server v10.8 (Mountain Lion)?

    This chart seems not applicable in Mac OS X Server v10.8.4 (Mountain Lion) [Server v2.1.1].
    I have 32GB of RAM but the maxproc limit is still 2500, no matter setting via launchctl (the new way), sysctl (the old way), ulimit (the soft way), or both of them.
    Commands applied:
    $ sudo launchctl limit maxproc 2501
    $ sudo launchctl limit
              cpu         unlimited      unlimited     
              filesize    unlimited      unlimited     
              data        unlimited      unlimited     
              stack       8388608        67104768      
              core        0              unlimited     
              rss         unlimited      unlimited     
              memlock     unlimited      unlimited     
              maxproc     2500           2500          
              maxfiles    1048576        1048576
    $ sudo sysctl -w kern.maxproc=2500
    kern.maxproc: 2500 -> 2500
    $ sudo sysctl -w kern.maxproc=2501
    kern.maxproc: 2500
    Files also created / modified accordingly:
    /etc/launchd.conf
    /etc/sysctl.conf
    When I see the source code of the Darwin kernel (unix_startup.c), it works like it is specified here. But I still cannot I wonder whether the kernel calls srv_setup() and bsd_srv_setup() properly. I would like to find a way (via systemsetup command, modifying com.apple.Boot.plist, applying NVRAM parameter, etc.) so that bsd_srv_setup() would be called with a larger "scale" parameter. Or perhaps is there any way to compile a custom kernel from source and replace the system one?

    Gil,
    The command with one parameter (known as "both" in manpage) is the same as the one with two parameters (known as "soft" and "hard" respectively in manpage) - it will be treated like supplying two parameters using the same value:
    $ sudo launchctl limit
    Password:
            cpu         unlimited      unlimited
            filesize    unlimited      unlimited
            data        unlimited      unlimited
            stack       8388608        67104768
            core        0              unlimited
            rss         unlimited      unlimited
            memlock     unlimited      unlimited
            maxproc     2500           2500
            maxfiles    1048576        1048576
    $ sudo launchctl limit maxproc 1000
    $ sudo launchctl limit
            cpu         unlimited      unlimited
            filesize    unlimited      unlimited
            data        unlimited      unlimited
            stack       8388608        67104768
            core        0              unlimited
            rss         unlimited      unlimited
            memlock     unlimited      unlimited
            maxproc     1000           1000
            maxfiles    1048576        1048576
    $ sudo launchctl limit maxproc 2500
    $ sudo launchctl limit
            cpu         unlimited      unlimited
            filesize    unlimited      unlimited
            data        unlimited      unlimited
            stack       8388608        67104768
            core        0              unlimited
            rss         unlimited      unlimited
            memlock     unlimited      unlimited
            maxproc     2500           2500
            maxfiles    1048576        1048576
    $ sudo launchctl limit maxproc 2501
    $ sudo launchctl limit
            cpu         unlimited      unlimited
            filesize    unlimited      unlimited
            data        unlimited      unlimited
            stack       8388608        67104768
            core        0              unlimited
            rss         unlimited      unlimited
            memlock     unlimited      unlimited
            maxproc     2500           2500
            maxfiles    1048576        1048576
    By the way, my iMac is running Mac OS X 10.8.4 and the manpage is dated "1 May, 2009" in case if it matters.

  • Help Please with Mac OS X Server v10.5 Install

    I am currently running my everyday computer 2.6GHZ MacBook Pro on my wireless network I want to install the Mac OS X Server V10.5 standard install but I keep getting a message stating I need to have the computer plugged in to the ethernet cable??? I want to do this wirelessly I only need the basic install so I can learn how to use the server - Can anyone help me in getting this set up with out having to plug it in...I use an airport extreme and have a wireless network set up already - I really could use some help Thanks

    Just plug in an ethernet cable during the installation process. One of the requirements of server is access to primary ethernet as a common installation is performed headless. The only way to "ensure" network access is with ethernet as there are commonly no requirements other than plugging in a cable. Wireless most often requires authentication or at least selection of the desired wireless network.
    Just get a patch cable and use it for the install. Once you have the install complete, set primary network to the wireless port and then disconnect the cable.
    Hope this helps

  • HT5218 Safari 5.1.5 for Mac OS X Server v10.6 is no longer available for downloading, where I can find it?

    afari 5.1.5 for Mac OS X Server v10.6 is no longer available for downloading, where I can find it?

    FWIW, Software Update Server on OS X Server 10.6 did occasionally corrupt itself.
    If I had a case of that arise, I'd get a full backup, would shut off Software Update Server, apply the current OS X Server 10.6.8 combo update and the current and subsequent patches, then reset the Software Update Server caches and force a new download of everything, and then restart the Software Update Server.
    Alternatively — and given what I've encountering with 10.6.8-vintage hardware failures in the last few months — I'd probably look to migrate to newer hardware and newer software.  Those disks are getting old, after all.
    Software Update Server and Caching Server 2 on 10.9 have both been stable.
    The Reposado open-source implementation of Software Update Server might provide you with an alternative approach, if Software Update Server is being recalcitrant and if you can't upgrade.

  • How to spare my HD with Mac OS X Server v10.5 Leopard?

    Hi there,
    I just got my iMac few days ago. I have install Mac OS X Server v10.5 Leopard problem.
    Its any could teach me how can I spare my Hard Drive to show 2 in my desktop, one will be Application App & another will be Storage..
    Its "Mac OS X Server v10.5 Leopard"(computer version) can only use on new mac??

    Ohhh... Okay... You want to partition your hard drive.
    Instructions can be found here:
    http://docs.info.apple.com/article.html?artnum=61301
    You must do this while booted from the OS X install DVD and choosing Disk Utility from the Utilties menu. Also be aware that you must back your data prior to changing the partition scheme, as it will reformat the hard drive.

  • Mac OS X Server v10.6.6 Software Update Service Host Older Updates?????

    Is there a way to manually add older software updates to the software update service?
    My issue started out like this. I would click change version beside both Mac OS X update/combo update v10.6.6 and select v10.6.5 because I want to push the older version. When I clicked save the check marks went away on those two items. I then figured I would refresh everything by renaming /var/db/swupd/http to /var/db/swupd/http-old and /etc/swupd/ to /etc/swupd-old. I restarted the service and all of the files were recreated and updates were downloaded but now when I click change version the older version is no longer available. Keep in mind that I still have the old folders so I can always go back and I can always download old updates from the Apple web site if need be. So if there is a way to manually add older updates hopefully my issue will be resolved. It was written in the description of Mac OS X Server v10.6.5 that a new feature was available that allowed hosting older updates but I can't find instructions on how to do so.
    I welcome any takers. Thanks in advance!

    I understood the older version only being able to be hosted/downloaded when they come available, but were updated on SUS due to a bug or something, so as far as I understood, apple wont let you host that VERSION of that file again, unless you had it before.
    Essentially, they only allow sus to download the last version of it, if you had the one before the last version, you could keep it. I could/might/usually am wrong though.
    my 2 cents

  • Mac OS X Server v10.7 does not show the ethernet link aggregated interface I created in Server Hardware Network Dialogue window. Are link aggregated ethernet connections not supported in Lion Server?

    Mac OS X Server v10.7 does not show the ethernet link aggregated interface i created. Does Lion server support ethernet link aggregated interfaces?

    Thanks for responding Cold--
    Hardware: Mac Pro  3.0 GHZ quad core xeon
    I read the link but it still does not explain why the aggregated dual ethernet interface does not show up in the Network tab of the hardware section Lion Server. I was able to see it on the network and looks to be using a single static IP that I assigned. My concern was that is this supported and will it allow for failover and double performance of the single network interface.
    Any thoughts?
    Thanks again!

  • Can not get MySQL to work from a System call

    With this code I can get MySQL to launch but does not recognize it as a valid statement in my C# program. It just shows prints out its help file:
    System("Mysql –h localhost –u me –password=pw < LoadDB.cmd");
    Solved!
    Go to Solution.

    Hey erdc3,
    It appears that the System() command has been replaced with the Process.Start() command in C#. Here's an MSDN resource page on that command: 
    http://msdn.microsoft.com/en-us/library/aa326952(v=vs.71).aspx
    I'd suggest trying that command. If you still have problems getting it to work, let us know!
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • Trying to get MySQL to work with Oracle Tutorial

    Hi,
    I was attempting to work through the following tutorial Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces
    http://www.oracle.com/technology/obe/obe11jdev/11/ejb/ejb.html
    But with a twist that I want to attempt with MySQL. Whilst MySQL is working fine in the IDE when I test the javaServiceFacade it fails as the construct/syntax of the sql command is incorrect :-
    SELECT rowid, contractno, fax, advert, status, remark, tel, kva, lastuser, createddate, type, postcode, contact, country, modified, refno, address, email, custname FROM "enquiries" WHERE (refno LIKE ?)")
    You note the "enquires" which for mysql should not have the quotes and is causing error.
    I have looked at persistance.xml and it looks ok. Even tried setting database to MySQL4
    Any suggestions to what controls the SQL syntax?
    James
    excerpt from persistance.xml
    +<properties>+
    +<property name="eclipselink.target-server" value="WebLogic_10"/>+
    +<property name="javax.persistence.jtaDataSource"+
    +value="java:/app/jdbc/jdbc/main_MySQLDS"/>+
    +<property name="eclipselink.target-database" value="MySQL5"/>+
    +<property name="eclipselink.jdbc.native-sql" value="true"/>+
    +</properties>+
    +</persistence-unit>+
    +<persistence-unit name="genesys" transaction-type="RESOURCE_LOCAL">+
    +<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>+
    +<class>genesys.Enquiries</class>+
    +<properties>+
    +<property name="eclipselink.jdbc.driver" value="com.mysql.jdbc.Driver"/>+
    +<property name="eclipselink.jdbc.url"+
    +value="jdbc:mysql://127.0.0.1:3306/main"/>+
    +<property name="eclipselink.jdbc.user" value="root"/>+
    +<property name="eclipselink.jdbc.password"+
    +value="B0855467D54C688144F5AA7621CE386D"/>+
    +<property name="eclipselink.logging.level" value="FINER"/>+
    +<property name="eclipselink.target-server" value="WebLogic_10"/>+
    +<property name="eclipselink.target-database" value="MySQL5"/>+
    +<property name="eclipselink.jdbc.native-sql" value="true"/>+
    +</properties>+

    I am trying to do the same thing, but in my case I am using my onkyo receiver to do the decoding. I have a minijack converter to coax in the mic jack of the card. I switched the options to digital i/o out. This does work, but I can only get stereo sound. When I play my 5. dvd, it still plays it in stereo sound. I have all the settings correct, as I can get 5. sound out of my onboard coax but not the creative extreme music. It also greys out the option for passthru(external source decoder).
    My roommate has the platinum creative sound card with the front panel with coax/optical out right on it, he has WAY more dobly/dts options in his menu settings and is able to send 5. out easily. auto detects it and with minor tweaks, gets 5. out thru either optical or coax.
    I thought this card supported 5. coax out thru the digital port. I just dont think it does, the options are missing from the menu all together, and yes I have the most recently updated webupdate. I can get stereo sound thats it. Funny how my realtek onboard does a way better job then this "higher end" sound card.
    Am I missing something maybe? Please help, I would like to get this going, or at least get a solid answer if this is even possible so I can stop wasting my time with it.
    Thanks,
    Joe

  • Trying to get video chat working between mac and pc

    im trying to get video chat working between a mac and pc
    pc-running xp with aim 6.0
    will updating to aim 6.1 fix this ?
    we can text chat with no problem
    we can not audio or video chat
    any help would be great
    thanks santini

    Hi Z,
    Lets check the Port Forwarding at your end.
    Does this Zyxel have UPnP at all ?
    If so use that and disable the Port Forwarding.
    If not then these ports need to be forwarded.
    I will list with Protocols as some device need these.
    TCP 5190 for AIM Login and text chats (can be substituted for 443)
    TCP 5220, 5222 and 5223 for Jabber (the last is for OS X servers and GoogleTalk)
    TCP 5298 this is part of the Bonjour set up for iChat if you have other Macs
    UDP 5060 this is for the SIP negotiation that iChat needs
    UDP 5678 this is where the visible invites come and go out on.
    UDP 5190 for AIM file sending and Group chats
    UDP 16384-16403 This group of 20 ports is where any Audio or Video chat takes place.
    As the 443 port is below 1024 (the NAT threshold) you should not have to Forward this.
    10:23 PM Monday; August 13, 2007

  • Can't start mysql 5.5 on MAC OS X server

    attempting to start MySQL on Mac OS X server 10.6 fails with following error:
    [ERROR] /usr/local/mysql-5.5.8-osx10.6-x86_64/bin/mysqld: unknown option '--skip-locking'
    appreciate any advice or help how to fix this problem.
    thank you.

    I had the same problem when upgrading from MySQL 5.1 to 5.5.
    The skip-locking construct was removed in mysql 5.5:
    http://dev.mysql.com/doc/refman/5.5/en/mysql-nutshell.html
    Search for skip-locking...
    I fixed this by editing /etc/my.cnf. Under [mysqld], change "skip-locking" to "skip-external-locking".
    It might be worth your while to grab a new my.cnf from /usr/local/mysql/support-files. There are several default configuration options to choose from. I'm still running my customized version from 5.1, but I'm guessing there are changes that I haven't encountered yet.
    Good luck.

  • Mac OS X Server v10.6 Snow Leopard - Webdav setup?

    Could someone give me a run-through on what is needed to set up webdav or a link to same? On this server, I've got groups with shared folders, and users who can access at least one group each. I'd like to be able to have the users get web access to these same folders.
    Thanks, Ian

    More words around the commands used, errors seen, tools involved, etc, please?
    Why do I ask for that? This stuff works as expected here.
    Here's what I did to get connected with a test server. First, get Apache going and enable WebDAV, both via Server Admin. Then (on the client) select Go > Connect To Server in Finder, and specify the WebDAV server via http or https as the target. The wheels spin for a bit as the connections are made, and Bob's Your Uncle.
    I'm going to presume you have DNS going, but (if not) start there.

Maybe you are looking for

  • After upgrading to mountain lion,my HP device manager can't find scanner

    I have an HP Photosmart C5550 All-in-One printer scanner. The HP device manager can't find the scanner. Printer works fine. I upgraded from Lion to Mountain Lion and this is my problem now.

  • Block Order TECO on the basis of operation User Status

    Hi Experts, I am trying to restrict the TECO of maintenance order on the basis of order operation status. I have configured the user status profile and assigned it to order operation. This user status profile have two statuses, INCL - Incomplete and

  • BPEL Database Adapter data to B2B TP

    Hi SOA/BPEL Experts In BPEL How we are going to Map my Data base data ie which i got from Database Adapter to the Partner Link Adapter Service Trading Partner Data for ex EDI, X12 V4010 210's. My Database data which i want to send to the Partner <---

  • Problems reg. image display on forms 6.0 on web !!!

    Hi, I have deployed forms 6.0 on NT 4.0 and OAS 4.0. I have converted my forms 5.0 application to forms 6.0 application. I have 2 problems: 1.In my login window, i have attached (or imported a BMP image) which i m not able to see it when i run the fo

  • The poor MS-JVM in IE 5.x! go your death!

    No Java1.0 VM in IE6.0 is good thing in my eye: With plug in, Java2 can take role in IE, more applet can work therefore, more prople can know Java better....... mengmeng Beijing.