About 577,000 results
Open links in new tab
  1. How to connect to MySQL from the command line - Stack Overflow

    Feb 27, 2011 · How can you connect to MySQL from the command line in a Mac? (i.e. show me the code) I'm doing a PHP/SQL tutorial, but it starts by assuming you're already in MySQL.

  2. How to select a MySQL database through CLI? - Stack Overflow

    I've managed to get into MySQL using the command line terminal, but when I tried to enter some SQL, it said 'no database selected' how do I select a database? my database name is: …

  3. How to find out the MySQL root password - Stack Overflow

    Jun 5, 2012 · I cannot figure out my MySQL root password; how can I find this out? Is there any file where this password is stored? I am following this link but I do not have directadmin …

  4. command line - How to run SQL script in MySQL? - Stack Overflow

    Jan 20, 2012 · If you’re at the MySQL command line mysql> you have to declare the SQL file as source. mysql> source \home\user\Desktop\test.sql;

  5. How to clear MySQL screen console in Windows? - Stack Overflow

    To clear MySQL console screen, type the following command: mysql> \! cls Explanation: \! is used to execute system shell commands cls is a command to clear the Windows command prompt …

  6. How do I restore a dump file from mysqldump? - Stack Overflow

    mysql -p -u[user] < db_backup.dump To run these commands, open up a command prompt (in Windows) and cd to the directory where the mysql.exe executable is (you may have to look …

  7. How to connect from windows command prompt to mysql …

    Your one is C:\MYSQL\bin\ so choose this directory in command line and type: NET START MySQL (After that you can open Windows Task Manager and verify in Processes tab is …

  8. command line - How to best display in Terminal a MySQL SELECT …

    May 29, 2009 · 65 Using mysql 's ego command From mysql 's help command: ego (\G) Send command to mysql server, display result vertically. So by appending a \G to your select, you …

  9. docker - How to execute MySQL command from the host to …

    To connect to the MySQL database using MySQL command line client. I connect to the bash into the running MySQL container: $ docker exec -t -i container_mysql_name /bin/bash -i is the …

  10. How do you use MySQL's source command to import large files in …

    What you want to do is use the MySQL Client to do the work for you. Make sure MySQL is running. Create your database via phpMyAdmin or the MySQL shell. Then, run cmd.exe, and …