About 376,000 results
Open links in new tab
  1. How to connect to MySQL from the command line

    mysql -u root -p: This with connect to user called root, -p flag will prompt for a password. Option 2: mysql -u root -p<PASSWORD>: Here you enter the password directly into the command and …

  2. MySQL command line client for Windows - Stack Overflow

    Feb 14, 2013 · If you are looking for tools like the the mysql and mysqldump command line client for Windows for versions around mysql Ver 14.14 Distrib 5.6.13, for Win32 (x86) it seems to …

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

    Nov 9, 2023 · The command line provided is not quite correct. To specify password in command line, you set --password=<pass_goes_here> to use database via command line, you put in …

  4. How to import an SQL file using the command line in MySQL?

    Jul 16, 2013 · Open the MySQL command line; Type the path of your mysql bin directory and press Enter; Paste your SQL file inside the bin folder of mysql server. Create a database in …

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

    I have used following command to connect MySQL Server 8.0 in Windows command prompt. C:\Program Files\MySQL\MySQL Server 8.0\bin>mysql -u root -p my_db Enter password: **** …

  6. How do you run a single query through mysql from the command …

    I'm looking to be able to run a single query on a remote server in a scripted task. For example, intuitively, I would imagine it would go something like: mysql -uroot -p -hslavedb.mydomain.com

  7. MySQL :: MySQL Command Line Client Not Starting

    Jan 24, 2013 · I've just installed mySQL and I'm trying to open the mySQL Command Line Client. When I open it from the Start menu, the box flashes for a second and then disappears. My …

  8. Access mysql remote database from command line

    Apr 8, 2013 · To apply the change you made, must restart mysql server using next command. sudo /etc/init.d/mysql restart Modify user root for lan acces ( run the query's bellow in remote …

  9. What is the difference between MySQL Server and MySQL Client

    May 30, 2017 · It will give you the "mysql" command-line program. MySql Server : The mysql-server package allows to run a MySQL server which can host multiple databases and process …

  10. What is the difference between mysql when run from the console …

    You can use the "X Protocol" which allows you to query MySQL like a NoSQL server instead of an SQL server. MySQL Shell is sort of being presented as a successor to the traditional mysql …