MySQL installation problem

Panagiotis Atmatzidis atma at convalesco.org
Wed Nov 25 08:36:47 PST 2009


Hello Zang!

On 25 Νοε 2009, at 6:26 μ.μ., Zhu Sha Zang wrote:

> I'm trying to install mysql inside a G4/PPC machine, but when i try to follow this instructions:
> 
> 1) Setup MySQL (for new installs)
> -----------------------------------------------
> -Configure MySQL:
>        sudo -u mysql /opt/local/lib/mysql5/bin/mysql_install_db
> 
> -Start MySQL and set it to run at system boot:
>        sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
> 
> -Set the root MySQL password (replace <mypassword> with your chosen password):
>        sudo /opt/local/lib/mysql5/bin/mysqladmin -u root password <mypassword>
> 
> 
> I cannot execute the second command cos this arch:
> 
> /Library/LaunchDaemons/org.macports.mysql5.plist
> 
> do not exist, but in the /Library/LaunchDaemons already have this archs:
> 
> org.macports.logwatch.plist     org.macports.nedimonitor.plist  org.macports.nedisyslog.plist   org.macports.snmptrapd.plist
> 
> 
> Some hint to do?
> 
> att
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Can you please give us a few more informations on the mysql package you have installed in your system?

As you can see I'm running mysql5 in a similar system with no problems which means that something went wrong durring the installation.

atma at devon:~/ > ps auwx|grep -i mysql && uname -a
root        31   0.0  0,2    27952    796  ??  Ss   Πεμ06μμ   0:00.01 /opt/local/bin/daemondo --label=mysql5 --start-cmd /opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper sta
root        76   0.0  0,1    27812    700  ??  S    Πεμ06μμ   0:00.05 /bin/sh /opt/local/lib/mysql5/bin/mysqld_safe --datadir=/opt/local/var/db/mysql5 --pid-file=/opt/local/var/db/mysql5/l
mysql      131   0.0  2,7    67884  13920  ??  S    Πεμ06μμ  13:44.97 /opt/local/libexec/mysqld --basedir=/opt/local --datadir=/opt/local/var/db/mysql5 --user=mysql --log-error=/opt/local/
Darwin devon 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

regards

Panagiotis (atmosx) Atmatzidis

email:	atma at convalesco.org
URL:	http://www.convalesco.org
GnuPG ID: 0xFC4E8BB4 
gpg --keyserver x-hkp://pgp.mit.edu --recv-keys 0xFC4E8BB4
--
The wise man said: "Never argue with an idiot. They bring you down to their level and beat you with experience."



More information about the macports-users mailing list