Hi,
The problem you ran into is because you didn't start mysqld the right way!
There are 3 options on how to start mysqld!
a) cd mysql-distribution-directory
./bin/safe_mysqld &
b) Make a symlink from the mysql distribution to /usr/local/mysql so that
you can start safe_mysqld from anywhere on the system
c) provide full paths to safe_mysqld and mysqld.
Regards
Jorge
MySQL Development Team
__ ___ ____ __ __
/ |/ /_ __/ __/ __ \/ / Jorge del Conde <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/
/_/ /_/\_, /___/\___\_\____/ Mexico City, Mexico
<___/
----- Original Message -----
From: "Marcus Ouimet" <[EMAIL PROTECTED]>
To: "MySQL" <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 8:25 PM
Subject: Error Code?
MySQL was working fine but now it seems to be giving me an error:
user:/usr/local/apache/bin# mysql -uusername -pmypassword
Can't read dir of '.' (Errcode: 2)
or
user:/usr/local/apache/bin# mysqladmin -uusername -pmypassword create
catalog
mysqladmin: create of 'catalog' failed error: 'Can't create database
'catalog'. (errno: 2)'
Any ideas?
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php