DB_NAME=SomeDB USER_NAME=someuser IP_ADDR=localhost PASSWORD=somepassword somevar=`echo "select * from <table_name> where <condition>" | mysql -h $IP_ADDR -u$USER_NAME -p$PASSWD $DB_NAME ` echo $somevar
In my blog, i would discuss the problem i face in daily routine. Following are some of them: mysql error, mysql replication, mysql database corrupted repair, innodb tablespace corruption, mysql storage engines, mysql optimization and tuning, reinstall mysql linux server, linux command for dummies, linux administration tips, mysql administration tips, Linux server benchmarking
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment