Skip to content

Commit

Permalink
sql autocommit
Browse files Browse the repository at this point in the history
  • Loading branch information
jgvictores committed Dec 3, 2024
1 parent 3c55b82 commit dad7cb6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/software/databases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ La `-p` es para que pida contraseña, la `-D` es opcional. Desde consola:
mysql -u user -p -D database -o < dumpfile.sql
```

Una alternativa desde `mysql>` que puede importar en menos tiempo:

```sql
use db_name; SET autocommit=0 ; source the_sql_file.sql ; COMMIT ;
```

## Migración MySQL 5 a MySQL 8

You need to open the `.sql` file and put these lines at the top:
Expand Down

0 comments on commit dad7cb6

Please sign in to comment.