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

    Jun 22, 2023 · 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 …

  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

    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 mysql -u <user> …

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

    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 queries on …

  5. 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 …

  6. How do I find out my MySQL URL, host, port and username?

    Nov 4, 2010 · Easiest way is probably using command status; In the output you'll find database, user, host and port:. mysql> status; ----- mysql Ver 8.0.13 for Win64 on x86_64 (MySQL …

  7. 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 …

  8. MySQL command line formatting with UTF8 - Stack Overflow

    Jul 22, 2011 · mysql --default-character-set=utf8 You can set this as a default in the /etc/mysql/my.cnf file. [mysql] default-character-set=utf8 The short answer did not work, read …

  9. 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

  10. database - How to switch users on MySQL? - Stack Overflow

    Nov 9, 2023 · I was looking for an equivalence of the CONNECT command of Oracle Database and just found it with the command \CONNECT available on MySQL Shell (since version …

Refresh