PDA

View Full Version : Use CLI terminal to rwx mySQL DB



GacCo
January 2nd, 2010, 05:05 PM
:popcorn:

OK, I love using my CLI to do many things. It's incredibly fast, flexible and powerful as we all should know. However, my question is whether I could use perl to interface with, say, a mySQL db on XAMPP (local on my box)? It seems you could, but I is ignernt as of yet....

Side note/question: I also love emacs, but only have about a year experience using it. Would this work using emacs also?

...GUI's are cool, but I need speed.....power....and donuts

:P

Hellkeepa
January 2nd, 2010, 05:15 PM
HELLo!

If you're talking about doing manual tasks on a MySQL database, why not just use the MySQL CLI client? No point in writing your own wrapper/client for something that you already have.
"mysql -u <user> -p <database>"

Happy codin'!