[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is mysqld?



On 2/2/02 at 1:33 PM +0000GMT, Marcus Bointon wrote:
>I'm just installing mysql-3.23.42 from ports. All goes well with configure,
>make & make install, but when I do scripts/mysql_install_db, it tells me:
>
>>  scripts/mysql_install_db[69]: my_print_defaults: not found
>>  Didn't find /usr/local/libexec/mysqld
>>  You should do a 'make install' before executing this script
>
>I've done several searches and it does seem that there is no mysqld to be
>found anywhere on the system.
>
>What's wrong?

1) $ pkg_info
       look for mysql and see what it says
2) $ sudo pkg_delete mysql-3.23.42 tee ~/my.log
3) $ sudo pkg_add 
ftp://ftp.openbsd.org/pub/OpenBSD/3.0/packages/i386/mysql-server-3.23.42-max.tgz 
tee ~/my.log
4) $ sudo pkg_add 
ftp://ftp.openbsd.org/pub/OpenBSD/3.0/packages/i386/mysql-client-3.23.42.tgz 
tee ~/my.log
5) $ sudo pkg_add 
ftp://ftp.openbsd.org/pub/OpenBSD/3.0/packages/i386/mysqlgui-1.75.tgz 
tee ~/my.log

READ THE MESSAGES ON THE SCREEN THEY ARE TERRIBLY IMPORTANT!
They will be in your home directory in the file "my.log" after each step.

to make your life easier add

PKG_PATH = ftp://ftp.openbsd.org/pub/OpenBSD/3.0/packages/i386/

to your .profile, then you can do
pkg_add ${PKG_PATH}mypackage.tgz

-- 
William C. Allen, BLS, EET
allenwc@shaw.ca
"it may be that your sole purpose in life is to serve as warning to others"