![]() ![]() ![]() sed -i 's/utf8mb4_0900_ai_ci/utf8_general_ci/g' backup.sql sed -i 's/CHARSET=utf8mb4/CHARSET=utf8/g' backup.sql The Linux system users can use the sed command to replace text in files directly. Here we are changing the CHARSET to utf8, that is the older version and have limitation, Read the implications at the end of this article before making the changes in database. Edit the database backup file in text editor and replace “ utf8mb4_0900_ai_ci” with “ utf8mb4_general_ci” and “ CHARSET=utf8mb4” with “ CHARSET=utf8“.ĮNGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ĮNGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci Then we do a little tweak in the backup file to resolve this. So we got that the destination server doesn’t contain the required database collation. See the error screenshot during database restoration.Īfter a little investigation, I found that the MySQL server running on the destination is an older version than the source. You can switch to the correct database and/or table using Cmd + P.Error 1273 (HY000) at line 25 Unknown collation: ‘utf8mb4_0900_ai_ci’ Pro: Command + P to open any database and/or table That said: TablePlus updates pretty quick, which i think is awesome. ![]() If the program is good it doesn't need much updates, but the last release of Sequel Pro contains a nasty bug which an update can easily fix. The same goes for running a long query: It feels like when you cancel a running query it only actually stops the query when it's finished. Con: You can't stop imports or queries.Īctually you can, but when running a big import it takes some time before it actually finishes. Also in Sequel Pro the export is more grannular, you can choose per table if you want the structure, data or both. Also: it was not possible to change the exported file name, but now is.īut it still can be way better. Here is a lot of room for improvements, but with every update it feels like this part is improved. Just Cmd + Enter when i need to update the result. I still can view them by running show full processlist in an sql window, but it doesn't auto refresh. The only thing i'm missing from Sequel Pro is the processlist which automatically updates. Plus for well over a month now, and i'm liking it more and more. So i've been using TablePlus for well over a month now, and i'm liking it more and more. Great to view what's going on on your server. I can't import gz files, you have to unpack them first. With Sequel Pro you see a constant progress. For example: When importing a file of 100mb, it only updates the process every table i think. actually works!Įxporting and importing is meh. Support multiple database types (Mysql 5 and 8, Redis, SQLite, PostreSQL and more).Ĭhanging table structure. You get to stage changes: Delete rows for deletion, but only commit this after entering a Cmd + S. Lock connections: Get a warning when you change something of force yourself to enter your password before continuing. Shortcuts: Command + P to open any database and/or table. ![]() Regular updates (The last release of Sequel Pro is from 2016 □). I finally settled on TablePlus as i liked i during the trial. So i decided to look for another program. switching monitors messes everything up, the menu becomes huge. You can download a nightly build, but i still had weird problems. This is due to a nasty bug in the latest version: If you close a tab, the program crashes. But lately my relation with Sequel Pro got troubled. I've been using Sequel Pro for a few years for all my database needs. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |