Is there a mysql command to change the output format of a table?
Specifically, I'd like to get rid of the formatting '-'s and '+'s:
+------+------------+
| ID | Name |
+------+------------+
| 1523 | Wien |
| 1524 | Graz |
+------+------------+
I tried:
--------
Appending
--result-format=tabbed
to my docker exec command:
docker exec -it [DB-container-name] mysql -uroot -p --result-format=tabbed
as I gathered from this MySQL page , but this gives me "unknown variable".
Asked by Nico Autia
(123 rep)
Apr 19, 2020, 11:05 AM