About 872,000 results
Open links in new tab
  1. How can I import an SQL file using the command line in MySQL?

    Jul 10, 2019 · I have a .sql file with an export from phpMyAdmin. I want to import it into a different server using the command line. I have a Windows Server 2008 R2 installation. I placed the …

  2. How to connect to SQL Server from command prompt with …

    Mar 21, 2014 · Sqlcmd -u username -p password assumes a username & password for the SQL Server already setup Alternatively how can I setup a user account from command prompt? I've …

  3. How to check SQL Server version - Stack Overflow

    What are the possible ways to determine the deployed SQL Server version? I’ve tried to do it using the SQL Server software. I want to do it using a command line SQL statement.

  4. How to connect to MySQL from the command line - Stack Overflow

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

  5. How can I determine installed SQL Server instances and their …

    I like the command-line options, but I got mixed results when I tried them on my (non-networked) developer box; basically "sqlcmd -L" was the only one that worked, and only if the SQL Server …

  6. Execute SQL script from command line - Stack Overflow

    providing a file name containing all my SQL queries is much more handy than providing the SQL query as command-line arguments.

  7. How to ping/test connection to SQL Server without software (like ...

    Is there a way to test a connection to a SQL Server through the command line or without any extra software? I've tried the ping and telnet methods shown in this article, but they both fail to …

  8. How to export data as CSV format from SQL Server using sqlcmd?

    Pass it a SQL query that describes the data you want to export. The -Database parameter works like the -d parameter of sqlcmd.exe. Pass it the name of the database that contains the data to …

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

    4 Yes, you can clear the screen no matter whether you're using Command line Client or any Linux Terminal We're using cls in cmd and clear in terminal to clear the screen. Command line client …

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

    Jan 20, 2012 · From Workbench: File > Run SQL Script -- then follow prompts From Windows Command Line: Option 1: mysql -u usr -p mysql> source file_path.sql Option 2: mysql -u usr …