|
|||||||||
Sunday the 21st of March, 2010 |
|||||||||
mysql5-server most recent diffversion 5.1.41
Scroll down toward the bottom of the page to get installation instructions for mysql5-server. The raw portfile for mysql5-server 5.1.41 is located here: http://mysql5-server.darwinports.com/dports/databases/mysql5-server/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/mysql5-server The mysql5-server Portfile 60732 2009-11-21 07:42:31Z ryandesign PortSystem 1.0 Name: mysql5-server Version: 5.1.41 set branch [join [lrange [split ${version} .] 0 1] .] Homepage: http://www.mysql.com/ Category: databases Platform: darwin Maintainers: ryandesign license GPLv2 distfiles Description: Multithreaded SQL database server Long Description: MySQL is an open-source, multi-threaded SQL database with a command syntax very similar to mSQL. depends_run port:mysql5 set major_version [strsed ${version} {s/\..*$//}] set mysql mysql${major_version} set libdir ${prefix}/lib/${mysql} set bindir ${libdir}/bin set dbdir ${prefix}/var/db/${mysql} set sysconfdir ${prefix}/etc/${mysql} if {"darwin" == ${os.platform} && ${os.major} > 8} { set mysqluser _mysql } else { set mysqluser mysql } startupitem.create yes startupitem.name ${mysql} startupitem.start "${prefix}/share/${mysql}/mysql/mysql.server start" startupitem.stop "${prefix}/share/${mysql}/mysql/mysql.server stop" use_configure no build {} destroot { addgroup ${mysqluser} set gid [existsgroup ${mysqluser}] adduser ${mysqluser} gid=${gid} realname=MySQL\ Server xinstall -m 755 -o root -d ${destroot}${prefix}/var/run xinstall -m 755 -o ${mysqluser} -g ${mysqluser} -d ${destroot}${dbdir} ${destroot}${prefix}/var/log/${mysql} ${destroot}${prefix}/var/run/${mysql} destroot.keepdirs-append ${destroot}${dbdir} ${destroot}${prefix}/var/log/${mysql} ${destroot}${prefix}/var/run/${mysql} } post-install { ui_msg "******************************************************" ui_msg "* In order to setup the database, you might want to run" ui_msg "* sudo -u ${mysqluser} mysql_install_db5" ui_msg "* if this is a new install" ui_msg "******************************************************" } livecheck.type regex livecheck.url http://dev.mysql.com/ livecheck.regex "(5\\.1\\.\[0-9\.\]+)" If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/mysql5-serverYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using mysql5-server with these commands: % man mysql5-server Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




