Max_connections Stock MySQL on Leopard Server 10.5.3

I'm working with a new install and am trying to go with the "out-of-the-box" configuration so the machine can be managed through Server Admin. My problem comes when trying to configure the MySQL server to raise the number of maximum connections available.
In /etc/my.cnf I've added:
max_connections = 300
maxuserconnections = 300
However, when the server starts I can see in the logs that the max_connections is set to 118, which I'm assuming is a default setting from somewhere. I've checked the machine for other my.cnf files, only finding one in my user directory where my MySQL username/password is set. I have no clue where else to check and the only option available in the Server Admin is for allowing network connections.
I've done extensive google searches to no avail.
Any help would be greatly, greatly appreciated.

Resolved!!
Here is the problem. Even though Server Admin tells you that it is setting the mysql root password, it is not.
The root password that finally allowed me to login to mysql was the SYSTEM ROOT PASSWORD !!
Arrrrggghhh!!!
I don't know what password Server Admin is setting or why is calls it the mysql root password. Is there some other mysql account that would have worked with that password? I would like to know, but for now, I'm happy to finally be able to use MySQL on my Leopard Server.

Similar Messages

  • MySQL installation in Snow Leopard Server appears to be broken?

    I tried
    sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config
    and it failed.
    The mkmf.log said (in part):
    "gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -DXOPENSOURCE -DDARWIN_CSOURCE -I/usr/include -fno-omit-frame-pointer -pipe -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch x86_64 -pipe -L/usr/lib -lmysqlclient -lz -lm -lruby -pipe -L/usr/lib -lmysqlclient -lz -lm -lpthread -ldl "
    ld: library not found for -lmysqlclient
    collect2: ld returned 1 exit status
    checked program was:
    /* begin */
    1: /top/
    2: int main() { return 0; }
    3: int t() { mysqlsslset(); return 0; }
    /* end */
    So, I checked mysql_config:
    Usage: /usr/bin/mysql_config [OPTIONS]
    Options:
    --cflags [-I/usr/include -fno-omit-frame-pointer -pipe -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT]
    --include [-I/usr/include]
    --libs [-pipe -L/usr/lib -lmysqlclient -lz -lm]
    --libs_r [-pipe -L/usr/lib -lmysqlclient_r -lz -lm]
    --socket [/var/mysql/mysql.sock]
    --port [0]
    --version [5.0.91]
    --libmysqld-libs [-pipe -L/usr/lib -lmysqld -lz -lm]
    Note that mysql_config appears to have been compiled with an assumption that /usr/lib
    would contain a -lmysqlclient shared library.
    Which assumption fails on my Snow Leopard Server installation:
    minisvr:~ root# ls -la /usr/lib/mysql
    ls: /usr/lib/mysql: No such file or directory
    Now, I'm reasonably certain that I have done nothing to cause this library to be missing;
    as I am also reasonably certain that the mysql_config found in /usr/bin is one shipped by
    Apple (as opposed to one I could have picked up somewhere else).
    Can anyone else out there verify: does Apple ship /usr/bin/mysql_config?
    If so, does it supply linker options like -L/usr/lib -lmysqlclient?
    If that also is true, does your /usr/lib actually contain an Apple-supplied libmysqlclient.*?
    Now, assuming that my installation is reasonably close to what Apple actually shipped,
    what should I do about it? Would I be better off to go find a source distribution,
    and build and install mysql, foregoing the Apple-supplied integration with
    management tools (e.g., using Server Manager to start/stop and monitor logfiles)?
    What do other users of mysql on Mac OS X Server do?
    Thanks,
    Tommy K

    I tried
    sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config
    and it failed.
    The mkmf.log said (in part):
    "gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -DXOPENSOURCE -DDARWIN_CSOURCE -I/usr/include -fno-omit-frame-pointer -pipe -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch x86_64 -pipe -L/usr/lib -lmysqlclient -lz -lm -lruby -pipe -L/usr/lib -lmysqlclient -lz -lm -lpthread -ldl "
    ld: library not found for -lmysqlclient
    collect2: ld returned 1 exit status
    checked program was:
    /* begin */
    1: /top/
    2: int main() { return 0; }
    3: int t() { mysqlsslset(); return 0; }
    /* end */
    So, I checked mysql_config:
    Usage: /usr/bin/mysql_config [OPTIONS]
    Options:
    --cflags [-I/usr/include -fno-omit-frame-pointer -pipe -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT]
    --include [-I/usr/include]
    --libs [-pipe -L/usr/lib -lmysqlclient -lz -lm]
    --libs_r [-pipe -L/usr/lib -lmysqlclient_r -lz -lm]
    --socket [/var/mysql/mysql.sock]
    --port [0]
    --version [5.0.91]
    --libmysqld-libs [-pipe -L/usr/lib -lmysqld -lz -lm]
    Note that mysql_config appears to have been compiled with an assumption that /usr/lib
    would contain a -lmysqlclient shared library.
    Which assumption fails on my Snow Leopard Server installation:
    minisvr:~ root# ls -la /usr/lib/mysql
    ls: /usr/lib/mysql: No such file or directory
    Now, I'm reasonably certain that I have done nothing to cause this library to be missing;
    as I am also reasonably certain that the mysql_config found in /usr/bin is one shipped by
    Apple (as opposed to one I could have picked up somewhere else).
    Can anyone else out there verify: does Apple ship /usr/bin/mysql_config?
    If so, does it supply linker options like -L/usr/lib -lmysqlclient?
    If that also is true, does your /usr/lib actually contain an Apple-supplied libmysqlclient.*?
    Now, assuming that my installation is reasonably close to what Apple actually shipped,
    what should I do about it? Would I be better off to go find a source distribution,
    and build and install mysql, foregoing the Apple-supplied integration with
    management tools (e.g., using Server Manager to start/stop and monitor logfiles)?
    What do other users of mysql on Mac OS X Server do?
    Thanks,
    Tommy K

  • Trying to stop MYSQL service without success in snow leopard server

    Hello
    I trying to enabled MySQL service on snow leopard server.
    My hard drive name is "Macintosh HD2".
    I receive this message :
    Can't change dir to '/Volumes/Macintosh HD2/ServiceData/MySQL/' (Errcode: 2)
    I try to stop without success MySQL service for rename my HD without blank
    How do that please ?

    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.

  • 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.

  • 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.)

  • MySQL version on Leopard Server?

    On my default install of Leopard Server (Mac Pro, version 10.5.2) MySQL is showing this version:
    14.12 Distrib 5.0.45, for apple-darwin9.0 (powerpc) using EditLine wrapper
    Why "powerpc"? Shouldn't that be an x86 version? Is that right?

    This appears to only be an old string referring to the build options. If you run the application, go to Activity Monitor and expose the Type column, you should in fact see that it's a 64-bit native Intel application.

  • 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).

  • Upgrade MySQL in Snow Leopard Server

    Hi all. This is my first post.
    I have a Mac Mini Server with Mac OS X Server 10.6.8 (aka. Snow Leopard Server)
    wanted to update the native MySQL. I followed these instructions
    http://support.apple.com/kb/HT4006
    Now I know that it is parallel installation of MySQL.
    https://discussions.apple.com/message/15535136#15535136
    Finally,I installed MySQL 5.5.15 from MySQL.com (x86 dmg file)
    Now I have three MySQL servers in the system. Runs only the oldest (native 5.0.92)
    I want to:
    1) Remove unnecessary MySQL servers.
    2) I would like to MySQL service could be run in the Server Admin.app. If this is not possible to run the “MySQL Preference Pane” in System Preferences.
    If this is not possible then I would be able to run in "MySQL Preference Pane" in System Preferences.
    Working with AS is probably possible.http://www.jamesbantz.com/2010/08/08/upgrading-mysql-on-mac-os-x-10-6-snow-leopa rd-server/#more-172 (See step 6)
    Now I have a “little problem” with the distinction which files belong which MySQL.
    Please help
    Thanks

    Welcome to the forums.
    The cited Apple directions in HT4006 are for adding headers and client components for Mac OS X Server for MySQL, and not particularly for upgrading MySQL on Mac OS X Server.  (That may well cause problems.)
    How good are your pre-installation backups?  I'd roll those in, and undo the HT4006 changes, and (if you're not going to scratch this whole upgrade) follow what Mr Bantz describes in his posting.
    Irrespective of the particular path followed here, you do also still get to "own" all of these changes, including the on-going maintenance and upgrades, which means that you own any security problems, the inevitable software upgrades and updates, and whatever other fixes might be needed.
    Alternatively, consider moving to Mac OS X Server Lion (10.7), as it does not contain MySQL, so you can load whatever MySQL you want and (so long as you keep it from getting tangled with PostgreSQL) you're good to go.
    I would not generally expect to be able to use Server Admin or the other tools to use or manage your local MySQL.  The Server Admin tools are not set up for these sorts of changes and have a history of getting tangled when the underlying servers are changed.   If you do manage this goal and do have Server Admin working and whether following Mr Bantz's directions or via some other means, then your changes still might not survive any particular future Mac OS X Server upgrade, or Server Tools upgrade.  (Which means you'll have to debug and rework the changes, or find somebody that has figured out what broken and follow those instructions.)
    If you discover you have the need for these sorts of upgrades often, I'd suggest loading and using Linux or one of the BSDs.  Installing newer versions of stuff means more work and sometimes far more work, and tends to un-do what Apple provides, and tends to cause problems like you've encountered here.  In all seriousness, Linux or BSD is the platform you'll want, if you find yourself tweaking; they're set up for exactly this sort of tweaking.  Mac OS X and Mac OS X Server aims at a different market.

  • Why won't Snow Leopard server use an up to date mySQL?

    I'm about to have to throw away a perfectly good Xserve since it won't update to mySQL 5.1.33 for Moodle 2.3. I'm almost to the point of deleting snow leopard and installing Ubuntu server in its place.  I have no budget for buying an OS upgrade (our budgets have been cut >35%). so if snow leopard server cannot be upgraded (I see no technical reason for not doing so on Apple's part- I have this version on mysql running on an old FreeBSD 7 server for a trouble ticket server).
    No, upgrading to a new version of the Mac server is not an option.

    Grant, thank you so much for the quick reply.  Yes, you're right, the tower is heavy as sin!  Our more recent computers out west are iMacs which are much easier for us to deal with.  We do have the tower upright.  Bill just moved it here to our vacation house for the winter.  Is it possible [don't underestimate him] that he could have inadvertantly opened the tower DVD slot and a decidedly important part fell out during the disconnect in B'ham?  The discs don't seat themselves.  It's like they're too large by just a smidge and won't sit level in the depression.  As I close the tray the top of the opening scrapes the disc off.  It won't let it go inside so I can begin the struggle with the install itself.

  • How do I create a virtual directory in Snow Leopard Server Admin program?

    Hi, how do you use the server admin program in snow leopard server to create an apache virtual directory? I can't see it in the applet anywhere. Thank you.

    Well this is what I thought too but I don't think I'm doing something right. I have a default website on port 80 and I created a second site on the same port. They are two different websites. One is the initial one that comes stock with the osx. The second one I created.
    When I browse to my server I get the second site. How can I get the default to be the one that points to the mail, wiki, calendar stuff, while my second domain is something totally different.
    http://myserver (should be the default stuff like mail.)
    http://myserver/mysecondsite (should be my other stuff.)
    The problem is that when I go to http://myserver it is going to http://myserver/mysecondsite
    What am I doing wrong? Thank you.

  • Lion server or Snow Leopard Server?

    From a quick check of postings here, my question of whether to use Lion Server or Snow Leopard server on a Mac Mini for a small office, looks to be "stay away from Lion server" Snow Leopard server just works and is easier to support.
    Most of these posts are from 2011, has anything changed where someone can say Lion is now a much better server choice now than considering Snow Leopard Server?
    It seems that most posters feel Lion server is a real step backwards, is this the case?
    Thanks in advance - Lewis

    Which services have been removed or depreicated?
    You have to bear in mind that 'removed' or 'deprecated' only really means 'no longer bundled and supported by Apple'. Just because Mac OS X Lion Server doesn't ship with a foobar server that doesn't mean you can't download and install your own foobar server. It just won't be integrated into the Server Admin apps.
    For example, Lion Server no longer ships MySQL Server. So download and install your own copy. It's not like the GUI apps gave you any control over the MySQL anyway, other than starting it up and controlling the network ports.
    Likewise for print server. Some of the advanced print features such as quotas have been removed from the GUI, but you can implement them yourself.
    Likewise with QuickTime Streaming Server, where the functionality is little more than a web service.
    What features that have been enhanced?
    Lion Server has simplified the setup of a server for small workgroups with simple requirements. If that's you then the whole experience may be enhanced since you're not swamped with a slew of options that you don't understand, or need.
    I think a lot of people were also stymied by Snow Leopard Server because they expected the GUI apps to cover all the options, which was never the case.
    So my original point stands. There is pretty much nothing you cannot do in Lion Server than you could do in Snow Leopard Server, it's just that it might not be supported by the GUI. Most serious server admins eschew Server Admin.app anyway since even Snow Leopard Server's admin app doesn't cover all the capabilities of some of the services, so you end up driving it via the command line anyway.

  • Configure DNS on Snow Leopard Server for Web Hosting

    Hi Everyone,
    I put together an article on my blog about Snow Leopard DNS setup for web hosting. http://www.mkahn.com/?p=279
    I'll be revising it over the next few weeks to make it more informative based around feedback. Let me know if you have any questions or trouble setting up DNS on Snow Leopard Server for web hosting.

    Thanks for your replies. I realize I'm not making clear the way this network is configured . Also, the only services running on the Snow Leopard server are (at this time):
    dhcpd - in the 10.136.31.x range;
    dns - same as before;
    planned to add are:
    Open Directory (for network logins)
    Software update;
    Web (only on the 10.136.31.x Ethernet);
    mySQL (localhost only - for moodle);
    NAT is not set up on the Snow Leopard server itself. We have an outside router, a Cisco 2811. This router provides routing for both the public IP range, and the NAT range is configured in this router. The forwarding dns is located in LR and Fayetteville. So what I need is dns on Snow Leopard to forward outside queries to the state DNS servers, and resolve the local NAT IP only for Open Directory and a set of Snow Leopard clients.
    Is this going to be possible?

  • Configure Joomla on Leopard Server

    I just recently found out about Joomla and I really like what I see and what I can do for my website. I know my way around Leopard Server very well, except the command line (FYI). I want to configure Joomla 1.5.8 on Leopard Server 10.5.5. I currently have AFP, DNS, MySQL, Open Directory, and Web configured up and running. My site and the Wiki server is functional and works fine.
    I already downloaded Joomla and placed it in Macintosh HD/Shared Items/Sites/joomla_1
    It would be great if someone could guide me to configure this with my server. I have read some articles and it says I need to configure this with MySQL and PHP, and I don't have the slightest clue on how to do this. I would also like my server to be able to host multiple Joomla sites if possible (multiple MySQL databases). Sorry for being such a newb at this, but I am learning. Any help would be more than appreciated.

    Just follow the joomla install guide that they provide, and follow the step by step web installer and point it at your mysql installation. Joomla 1.5 rund beautifully on Mac OS X Server. My joomla 1.5 site www dot 928 dot org dot uk is on an Xserve on 10.5.6

  • Running Mac OS X Leopard Server on iMac

    Hi,
    I am totally new in Apple World, Can I run Mac OS X Leopard Server on intel iMac?
    Simon Zarate

    This configuration works.
    (For some cases of upgrades, you might need to use a documented upgrade path, where you slide Mac OS X Server files onto the iMac. Details are around; look for the meta-package path and related. Here are the [10.4 upgrade details|http://docs.info.apple.com/article.html?artnum=302960], and I expect some similar technical notes might well exist for 10.5, and details are probably in the Mac OS X Server 10.5 upgrade manual, too.)
    You may or may not need Mac OS X Server here.
    I tend to try to partition user activity from server activity; servers and services tend to be mostly- or always-on, where client boxes come and go, power up or down, lack UPS, etc. Servers get dedicated storage and communications, UPS devices, etc. More cautious upgrades, etc. Server also means you don't have ready access to Time Machine and such; that you have to deal with backups yourself.
    If you've never run a server, it's kind of the "deep end of the computing pool", too. There's a whole lot more to deal with, in terms of set-up, operations and other aspects of the platform. As nice as it is, the Mac OS X Server environment still requires management and upkeep.
    If it's an internal project (and not exposed to the open internet), you could just load [MAMP|http://mamp.info] onto Mac OS X and move on to the next issue. MAMP provides MySQL, Apache and php.
    I'd suggest that you get going with Mac OS X. Then decide if you need a server, and -- if you need always-on, look to something akin to Xserve box. (If you're unsure if you need a server, Occam's Razor says you're probably not ready for a server.)

  • Is Homebrew compatible with Leopard Server?

    Title pretty much sums it up. I need to install ImageMagick and some other UNIXy tools. Wondering if Homebrew will work with our Leopard Server (10.5.8)? And if so are there any things to be aware of?
    Server is currently running Apache, MySQL, and a host of other OS X Server processes.

    It's just like any other package manager.
    For the most part, the stuff it installs is outside of the realm of what Apple installs, so anything you install via Homebrew will work just as it would - just don't expect the Apple tools to integrate with it.
    That also holds true if your're trying to install tools that somehow interact with Apache - the standard Apple install likely won't see the Homebrew-installed tools, so you may have to play games with Apache, or install the Homebrew version of Apache to work with it (and break the links to Server Admin, of course).
    So, short answer - will it 'work'? yes - in as much as you can install Homebrew app and tools. Will it integrate with your existing services? probably not, at least not without some extra work.

Maybe you are looking for

  • HTMLB Code not working Please help.....

    Hello All, Ive new in HTMLB. Have written this code wherein a JSP page is called from a JSPDynPage file. But am <b>not getting any output. Its all blank.</b> Dunno if im going wrong .... Please help. Struggling with this since y'day. <b>CODE</b>: <u>

  • I have a new computer which i have down loaded i tunes to is there any way to sync my old laptop itunes with the new?

    i have a new laptop and down loaded itunes to it, is there any way to get the music from my old laptop itunes to this new version?

  • Adding new line and sapaces in between the text in AI Script

    areaText.contents = "This is an Area Text in a rectangle. See how it flows to the next line."; i want to break the sentance from 'Text' ie i want to add new line in between and also some more spaces can any one plz help for example I want to write th

  • Basic Settings for new BW QA Box

    Hi All, i got a problem in BW QA. The BW QA server was a new one. I have created new requests for all the master data infosources and transported them sucessfully. The problem is when i opening the infopackage which was transported to QA i am getting

  • Safari 5 display size?

    Every time I open Safari 5 in Windows 7 Professional I have to Zoom in twice to get a suitable display size on my google.com homepage. Even adjusting the two font sizes in Preferences/Appearance has no apparent effect. Also, what's the simplest way t