linux script to update mysql data
Dear all:
Now I have a question about mysql data update.
I make a file contain SQL sentences, its name is update.sql
I use " mysql gs000001 < update.sql" in my install script,
it is error in script but it is right in telnet interface.
its error is :
ERRor 2002:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'(2)