problems running mysql_install_db5

David Gentry localbusinesswebsites at earthlink.net
Thu Mar 17 13:17:58 PDT 2011


Bradley,

Thank you for your response.  I am responding to your request that I run 3 commands:

$ /opt/local/lib/mysql5/bin/my_print_defaults client mysql mysqld
--port=3306
--socket=__PREFIX/var/run/mysqld/mysqld.sock
--skip-innodb
--user=mysql
--pid-file=__PREFIX/var/run/mysqld/mysqld.pid
--socket=__PREFIX/var/run/mysqld/mysqld.sock
--port=3306
--log=__PREFIX/var/log/mysql/mysql.log
--basedir=/usr/local/mysql-5.5.6-rc-osx10.6-x86_64
--datadir=/usr/local/mysql-5.5.6-rc-osx10.6-x86_64/data
--language=__PREFIX/share/mysql/english
--skip-locking
--set-variable=key_buffer=16M
--set-variable=max_allowed_packet=1M
--set-variable=thread_stack=128K
--enable-named-pipe
--connect_timeout=3

$ ls -la /etc/my.cnf/etc/mysql/my.cnf/opt/local/etc/mysql5/my.cnf ~/.my.cnf
ls: /Users/davidgentry/.my.cnf: No such file or directory
ls: /etc/my.cnf/etc/mysql/my.cnf/opt/local/etc/mysql5/my.cnf: Not a directory

$ ls -l /opt/local/var/db
total 0
drwxrwxr-x+ 4 root  admin  136 Mar 14 13:23 mysql5

I searched for my.cnf on my Mac, and the only place I found it was:

/opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/mysql4/files/my.cnf

The Finder calls it a document file.

David









More information about the macports-users mailing list