Juan Pedro Reyes Molina wrote:

With my sql stopped I go to console as root and write:

cd /etc/init.d
mysql start

At this point, try (as root)
 which mysql

It will certainly not be /etc/init.d/mysql, but somewhere in your
defined PATH; try
 echo $PATH
to see what that is

I would like to learn what's the difference between "mysql start" and "/etc/init.d/mysql start" if I'm sitting on "/etc/init.d"

'/etc/init.d/mysql' defines the executable you want to run explicitly;
'mysql' is the first instance of an executable with that name in your
PATH.

I think this error is preventing mysql from automatically starting on start up.

Probably not; look in your error logs for more information on that.

And in any case 'mysql' is generally the *client* program; *mysqld*
is the server that you want to start. Sounds like your distro has a
confusingly named startup file in /etc/init.d.

HTH!
--
Hassan Schroeder ----------------------------- [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                          dream.  code.



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

Reply via email to