Bits and Pieces

Tuesday, 7 July 2020

How to run SQL script in MySQL?

 

How to run SQL script in MySQL?

 
 
mysql --user="username" --database="databasename" --password="yourpassword" < "filepath"
Posted by Blagger at 07:45
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2024 (28)
    • ►  October (16)
    • ►  June (12)
  • ►  2023 (55)
    • ►  May (1)
    • ►  February (39)
    • ►  January (15)
  • ►  2022 (51)
    • ►  September (10)
    • ►  May (35)
    • ►  April (6)
  • ▼  2020 (96)
    • ►  November (23)
    • ▼  July (6)
      • Export and Import all MySQL databases at one time
      • Get size of all tables in database
      • How to run SQL script in MySQL?
      • Lists, Arrays, and Hashtables
      • Delete files or folder recursively on Windows CMD
      • Which file does robocopy copy first?
    • ►  June (11)
    • ►  May (52)
    • ►  March (4)
  • ►  2019 (79)
    • ►  December (57)
    • ►  October (1)
    • ►  July (21)
  • ►  2018 (30)
    • ►  September (2)
    • ►  May (7)
    • ►  April (11)
    • ►  February (2)
    • ►  January (8)
  • ►  2017 (142)
    • ►  December (16)
    • ►  November (4)
    • ►  October (10)
    • ►  September (53)
    • ►  July (13)
    • ►  June (45)
    • ►  March (1)
  • ►  2016 (3)
    • ►  April (3)
  • ►  2015 (10)
    • ►  October (1)
    • ►  September (1)
    • ►  August (1)
    • ►  July (7)
Ethereal theme. Powered by Blogger.