This forum is no longer active. Please post your questions to our new community site
Using mysql alone on command line
|tintsu 1 post||
I installed LAMStack on Ubuntu 10.10 and it is working fine via browser, eg. I can create tables on test database using phpMyAdmin. But can I use mysql alone via command prompt? How could I end up in a situation, where one can write eg. SELECT * FROM cat on command line? I mean typical sql usage without network. Is there help on some wiki on this?
tiina@tiina:~/lampstack-1.2-3$ ./ctlscript.sh start mysql
Did I make a mistake by chmod u+x *bin instead of chmod 755 *bin before installing?
|Beltrán Rueda Administrator 3,714 post(s)||
You should start the “use_lampstack” console before using the Stack commands. Try the following:
(the password is the same that you set during the installation)
Once you login in the MySQL database you can run any command:
I hope it helps.