Hi,

What I can do now to run mysql ?

Tanks for your assistance

Best regards

mparchet

-------- Message original --------
Sujet: Re: [Fink-devel] [Fink-users] Update to Fink's mysql available for testing
Date :  Sun, 25 Dec 2011 23:29:04 +0100
De :    Michael Parchet <[email protected]>
Pour :  Hanspeter Niederstrasser <[email protected]>



Le 22.12.11 01:53, Hanspeter Niederstrasser a écrit :
 On 12/21/2011 3:29 PM, Michael Parchet wrote:
 Le 21.12.11 21:09, Alexander Hansen a écrit :
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 On 12/21/11 2:39 PM, Michael Parchet wrote:
 Le 19.12.11 23:26, Hanspeter Niederstrasser a écrit :
 [cross posted to -devel and -users.  reply to -devel] [ Todai is
 cc'd since they maintain the older mysql-unified ]

 I've managed to get the latest stable mysql (5.5.19) to build on
 10.7 and pass all its tests.  However, I don't use mysql and
 have no idea if it actually works.  So I'm putting this out to
 people who might find a modern mysql in Fink to be useful and
 can actually test it.

 You can find my .info and .patch files here:
 <http://cvs.snaggledworks.com/viewvc.cgi/fink/3rdparty/main/finkinfo/database/>

 I have install the mysql18 package but the mysql server is required
 Where is this package for mac os 10.7 ?

 Tanks for your help

 Best regards

 mparchet
 If this is just a quick edit of the existing package for 10.5/10.6,
 then the server should be installed already and

 fink info mysql18
 When I run the server I get this error message

 MacBook-Pro-de-Michael:sbin rparchet$ mysqld_safe -- user=mysql&
 [1] 65528
 MacBook-Pro-de-Michael:sbin rparchet$ 111221 21:23:25 mysqld_safe
 Logging to 'var/data/MacBook-Pro-de-Michael.local.err'.
 touch: var/data/MacBook-Pro-de-Michael.local.err: No such file or
 directory
 chown: var/data/MacBook-Pro-de-Michael.local.err: No such file or
 directory
 111221 21:23:26 mysqld_safe Starting mysqld daemon with databases from
 var/data
 /sw/bin/mysqld_safe: line 107:
 var/data/MacBook-Pro-de-Michael.local.err: No such file or directory
 /sw/bin/mysqld_safe: line 144:
 var/data/MacBook-Pro-de-Michael.local.err: No such file or directory
 111221 21:23:26 mysqld_safe mysqld from pid file
 var/data/MacBook-Pro-de-Michael.local.pid ended
 /sw/bin/mysqld_safe: line 107:
 var/data/MacBook-Pro-de-Michael.local.err: No such file or directory

 I think if you edit /sw/bin/mysqld_safe in line 415 from

 DATADIR=var/data

 to

 DATADIR=$MY_BASEDIR_VERSION/var/data

The line 415 was already correct but if I run the script I obtain theses
line below


sudo mysqld_safe
Password:
111225 22:37:29 mysqld_safe Logging to
'/sw/var/data/MacBook-Pro-de-Michael.local.err'.
111225 22:37:30 mysqld_safe Starting mysqld daemon with databases from
/sw/var/data
111225 22:37:30 mysqld_safe mysqld from pid file
/sw/var/data/MacBook-Pro-de-Michael.local.pid ended
MacBook-Pro-de-Michael:bin rparchet$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)

And then, if I try to run mysql

mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)



I hot that you have passed a merry chrisms

Best regards

mparchet

 it'll take care of this issue.  If that doesn't work, try

 DATADIR=/sw/var/data

 Hanspeter


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to