Potential bug with MySQL

Hey guys, I tried creating a few tables in mysql. Here is how I did it. CREATE TABLE users( username VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_bin, password VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_bin ); now the problem is that when I try accessing it from the ui in railway it shows me the error:Cannot read properties of undefined (reading 'Column_name') However when I create the same table without the CHARACTER SET utf8 COLLATE utf8_bin, I dont have any issue. I need that to make sure my db is case sensitive.
8 Replies
Percy
Percy2y ago
Project ID: aecdad28-da47-4b87-bfdd-d01e52a8beff
cordila
cordilaOP2y ago
aecdad28-da47-4b87-bfdd-d01e52a8beff Please ping me on reply Yeah its quite severely bugged, I created another table CREATE TABLE users ( id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(255), email VARCHAR(255) ); just to test and it works but now the other tables all show the same columns lol And I just checked rn, on sql workbench it does show it properly
Brody
Brody2y ago
yep, please don't rely on the data view railway provides, use a proper client like SQL workbench
cordila
cordilaOP2y ago
Yeah I did do that now but still thought reporting it would be good since it looks like something that can easily by reproduced and maybe fixed
Brody
Brody2y ago
the whole database experience is getting a revamp!
cordila
cordilaOP2y ago
Ahh that's nice Any rough eta on that?
Brody
Brody2y ago
i dont have one, sorry
cordila
cordilaOP2y ago
👍 Thanks
Want results from more Discord servers?
Add your server