-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Thu, 11 Sep 2003, Andy Callan wrote:

> I can log in as 'root' if need be.  After the install I
> get errors like:
>
> /usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock'(2)'
> Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!

MySQL seems to be installed (as you can call "mysqladmin", but the MySQL
server itself does not seem to be running. Did you follow the instructions
in the README? The MySQL server needs to be started first.

> I've tried installing, deleting, and reinstalling several times to try
> setting it up in different environments (e.g. as myself, logged in as
> root, autheticating as root when i'm logged in as myself) without
> success.

Does the installation of the PKG itself finish successful?

> I was almost there one time I think but could not figure out what the
> "mysqladmin -u root -h 'hostname' password <password> " wanted for
> hostname, now I presume I should type exactly 'localhost' --is that
> correct?

If you enter the command as directed in the manual, you will notice that
the "hostname" command is enclosed in backticks (`). This means that it
will automatically take the output of the "hostname" command as the value
for the hostname field. However, MySQL needs to be started before you can
work with mysqladmin!

> Any assistance as to what user I should be logged in as and what the
> exact sequence of commands i should run to set up the package (including
> deleting previous install) would be great, many thanks in advance.

I assume you installed the official MySQL PKG packages from mysql.com.
Then the installation should have put the files in /usr/local/mysql. Try
to follow the instructions given in the README or at
http://www.mysql.com/doc/en/Mac_OS_X_installation.html

It's essential to start up mysqld before you continue with using
mysqladmin.

Bye,
        LenZ
- -- 
 Lenz Grimmer <[EMAIL PROTECTED]>
 Senior Production Engineer
 MySQL GmbH, http://www.mysql.de/
 Hamburg, Germany

 For technical support contracts, visit https://order.mysql.com/?ref=mlgr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE/YFNCSVDhKrJykfIRAr39AJ9gvkpAuDrV8haifjYk+UwYplD8ggCeL21g
Ufu8sperzi2TNVYAdEXld4A=
=v88B
-----END PGP SIGNATURE-----

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to