Thanks Matt, great tutorial easy to follow. All what I needed to learn for my course! Love KZbin, just keeps giving!
@MattMacarty3 жыл бұрын
Glad it helped
@Bella_Noches_ Жыл бұрын
WOW! This video is absolutely awesome! Never had such clear instructions on using the MySQL workbench and you helped me avoid a headache for my homework assignment. Your instructions worked like a charm!!
@MattMacarty Жыл бұрын
Glad it helped
@ashleybattiata8912 Жыл бұрын
I feel like I've learned more in this video than all semester. You rock!
@MattMacarty Жыл бұрын
Glad it helped
@kothon13 жыл бұрын
Dude, your tutorial is just so simple to understand. Thank you!!!
@MattMacarty3 жыл бұрын
Glad it helped!
@simonadong45123 жыл бұрын
This is SUPER HELPFUL thank you!! I glanced through so many articles which all made no sense to me...but this video is so on point
@MattMacarty3 жыл бұрын
Thank you. Glad it helped
@oyewoleayorinde7864 Жыл бұрын
This is one of the best tutorials on this subject matter. Thanks so much
@MattMacarty Жыл бұрын
Thank you. Glad it helped
@mariaalejandraperpinanbarr35353 жыл бұрын
Thaaanks! One of the best tutorials I've seen
@MattMacarty3 жыл бұрын
Thanks very much. Glad it helped.
@derelictmanchester87452 жыл бұрын
Thanks, Matt, really clear and concise..
@MattMacarty2 жыл бұрын
Glad it helped
@benlall2152 жыл бұрын
This was extremely helpful. Thank you! All the other videos say its for beginners and then fail to explain the most rudimentary steps... Thank you!
@MattMacarty2 жыл бұрын
Thank you. Glad it helped.
@rriimt15562 жыл бұрын
Excellent tutorial to learn database....thankyou very much sir..
@MattMacarty2 жыл бұрын
Thanks. Glad it helped
@banjoomotola85833 жыл бұрын
This was so useful to my learning. So happy I found this. Great job!
@MattMacarty3 жыл бұрын
Glad it was helpful!
@emekaukwuoma33593 жыл бұрын
Thanks Matt, this was super explanatory. I can create a database table thanks to you.
@MattMacarty3 жыл бұрын
Glad it helped!
@nitinkymar94682 жыл бұрын
One of the best tutorial on mysql. Thank you very much!!
@MattMacarty2 жыл бұрын
Thank you. Glad it helped.
@mikaeluhl3 жыл бұрын
Thanks! i had to import a csv that my teacher made and i was struggling with the 'date' situation.. his file had the year coming last and i was using date :P when you explained that years in date should come first you gave me the answer i couldn't find after hours of search
@MattMacarty3 жыл бұрын
Glad it helped!
@lebom80763 ай бұрын
The only video that helped me. Because of that, i subscribed🎉
@MattMacarty3 ай бұрын
Thanks. Glad it helped
@waxtin483 жыл бұрын
This is exactly what I needed thanks a million
@MattMacarty3 жыл бұрын
Glad it helped
@maverickpeck60123 жыл бұрын
This is extremely helpful, just doing an intro database design class and this video helped me a ton!
@MattMacarty3 жыл бұрын
Thanks. Glad it helped.
@felipecruz3061 Жыл бұрын
I am so glad i found this video... amazing. Thank you buddy
@MattMacarty Жыл бұрын
Glad it helped
@Skjoldr16 Жыл бұрын
Hi Matt, thanks so much for the clear and beginner-friendly tutorial, this definitely helped me a lot.
@MattMacarty Жыл бұрын
Glad it helped
@unnatirai_073 ай бұрын
Amazing explanation and hat's off to your efforts. Thanks
@MattMacarty3 ай бұрын
Thank you. Glad it helped
@adrijesus19813 жыл бұрын
Oh God, you have a database called "Frodo"! Cool :-D
@MattMacarty3 жыл бұрын
Yes it's not my server, but yes a friend for sure.
@ayanchakraborty76 Жыл бұрын
Samwise was not wise 😂
@Cpeters02 жыл бұрын
Very easy to follow and understand... 2 thumbs up!!
@MattMacarty2 жыл бұрын
Glad it helped
@browngift34082 жыл бұрын
You are a life saver Matt. Thanks so much
@MattMacarty2 жыл бұрын
Glad it helped
@jonlbs73 жыл бұрын
Best tutorial I've seen .. Thank you !! ✨✨👍😊
@MattMacarty3 жыл бұрын
Thanks very much. Glad it helped.
@the92632 жыл бұрын
This is amazing. I'm following here with my laptop haha
@MattMacarty2 жыл бұрын
Nice. Glad it helped
@BellTollsForThee2 жыл бұрын
This tutorial is amazing! Thank you a bunch! I loved the explanation of issues with data types!
@MattMacarty2 жыл бұрын
Thank you. Glad it helped.
@lugonzales89802 жыл бұрын
Thank you for making this easy!
@MattMacarty2 жыл бұрын
Glad it helped
@Cebuanoontwowheels2 жыл бұрын
Felt like i was listening to vin Diesel. Thank you dude!!
@MattMacarty2 жыл бұрын
LOL. Someone else said the same thing. Glad it helped.
@ThuHuongHaThi3 жыл бұрын
Thanks a lot, I have been in trouble with it for so long
@MattMacarty3 жыл бұрын
Glad it helped
@reeseverschelde7582 жыл бұрын
Incredibly helpful video, thank you.
@MattMacarty2 жыл бұрын
Glad it helped
@keithlamontdavis8047 Жыл бұрын
Well done. Very useful and very clearly explained. Newly subbed!
@MattMacarty Жыл бұрын
Thank you. Glad it helped
@BabaYAGA_OW Жыл бұрын
Thanks man! Really good tutorial
@MattMacarty Жыл бұрын
Glad it helped
@mannahidruhidru8123 жыл бұрын
thank you so much you are just amazing, perfect explanation
@MattMacarty3 жыл бұрын
Glad it helped
@MattMacarty3 жыл бұрын
Glad it helped
@daniel38973 жыл бұрын
Great tutorial. Thanks a lot Matt!!
@MattMacarty3 жыл бұрын
Than kyou. Glad it helped.
@jayanthim20393 жыл бұрын
Nice explaination, and very understandable... Thank you bro..
@MattMacarty3 жыл бұрын
Glad it helped
@nayaroni2 жыл бұрын
Thank you for this tutorial!!!
@MattMacarty2 жыл бұрын
Glad it helped
@nayaroni2 жыл бұрын
@@MattMacarty can you do a video on Stored Procedures? I am struggling with it:/
@charleskp9473 жыл бұрын
thanks so much.... your voice is awesome too... should be voice over artist
@MattMacarty3 жыл бұрын
Thanks for the compliment. I am glad it helped.
@lukewilliams47583 жыл бұрын
thanks for teaching us what you know I can finally make my website
@MattMacarty3 жыл бұрын
Glad it helped
@jayshree1443 жыл бұрын
very helpful in importing an excel file. thankyou
@MattMacarty3 жыл бұрын
Glad it helped
@lyjunsay28523 жыл бұрын
you sound like the guy from Khan Academy. Great job on this! Very helpful tutorial!
@MattMacarty3 жыл бұрын
Thanks. Glad it helped.
@crystella14503 жыл бұрын
That's true , he sounds like Sal khan
@greenblue9808 ай бұрын
thanks alot! i forgot about that lightning thing 😂
Thank you very much for this video. I'll have a look at your others, but I'd be interested to know how to import data that needs to be separated into different tables.
@MattMacarty3 жыл бұрын
There are a couple of options. You could import it all at once and then separate into tables or just import one on by one and add relationships when you have imported everything.
@marcelojunior43013 жыл бұрын
Thank you so much for this!
@MattMacarty3 жыл бұрын
Glad it helped.
@augustusprime0_o2 жыл бұрын
great tutorial, thanks!
@MattMacarty2 жыл бұрын
Glad it helped
@dwest8892 жыл бұрын
Excellent tutorial
@MattMacarty2 жыл бұрын
Thanks. Glad it helped.
@leniorrb4 жыл бұрын
Very helpfull! Great tutorial.
@MattMacarty4 жыл бұрын
Glad it helped
@grannah2050 Жыл бұрын
Very helpful, thank you
@MattMacarty Жыл бұрын
Glad it helped
@joycewang73733 жыл бұрын
Thank you Matt, the vedio did help me to learn mysql as a beginner. Could you please advise if you have more vedio of mysql on KZbin? I would like to study mysql with your further vedioes. Looking forward to more vedioes
@MattMacarty3 жыл бұрын
Hi I have a few videos for beginners: kzbin.info/aero/PLiPFKCVZWHKq3RvwDxosNm5Ny7cHyfc4o
@joycewang73733 жыл бұрын
@@MattMacarty Thank you very much!
@lesliee.45252 жыл бұрын
I'm getting an error that says "unhandled exception 'charmap' codec can't decode byte 0x9d in position 2155: character maps to " do u know how I could fix this?
@MattMacarty2 жыл бұрын
This sounds like there are some characters in your data that MySql can't deal with. Try opening the data file in a simple text editor to see if you can find and remove any odd looking characters. They should be pretty obvious.
@lesliee.45252 жыл бұрын
@@MattMacarty ok thanks
@christv0811 Жыл бұрын
Nice this is so clear
@MattMacarty Жыл бұрын
Thank you. Glad it helped
@devconnie Жыл бұрын
Tks Matt. Appreciate it.
@MattMacarty Жыл бұрын
Glad it helped
@joeryder573913 күн бұрын
Thank you Matt.
@MattMacarty12 күн бұрын
Glad it helped
@jonlbs73 жыл бұрын
When trying to update the date I got the following: 12:37:14 UPDATE amazon_csv SET t_date = str_to_date(t_date, "%m/%d/%Y") Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. I'm having more problems with the date than you can possibly imagine.
@MattMacarty3 жыл бұрын
Ok, yes the date can be a pain. If this don't absolutely need it to be a date type you can probably just leave as a text. My guess is the dates are in a different format then you have specified. With your str to date function.
@nutsaboutnuts9272 жыл бұрын
Hi, at about 11.30 in the video, if I try to update using the str-to-text function, I get an error message 1411 incorrect datetime value. The csv file I'm using looks just the same as the one in this demo video (the date format). Any idea what's going wrong? (me = complete newbie!) Thanks
@MattMacarty2 жыл бұрын
Really hard to diagnose remotely. Can you try to alter the table to see if that works? ALTER [table name] MODIFY [data column] date; if this works you can skip the str_to_date( ) since the data is now defined as a date.
@nutsaboutnuts9272 жыл бұрын
@@MattMacarty Thanks so much for replying. In fact what I did was to change the column header in the csv file, previously it was called 'date' so I changed it to something else and then the str-to-date worked. In the table it still has the Datatype as text though - is that right?
@MattMacarty2 жыл бұрын
@@nutsaboutnuts927 Yes. To change the data type you run the ALTER table command from my previous response.
@adekunleshokunbi9541 Жыл бұрын
Thank you Matt for this comprehensive video. I still have issues on trying to set up my workbench and server😢 How can I go about this?
@MattMacarty Жыл бұрын
Which version of MySQL are you trying to install? Windows or MAC?
@armelmahunan8514 жыл бұрын
Thank you so much. You save me
@MattMacarty4 жыл бұрын
Glad it helped
@tiagoaicapital2 жыл бұрын
Hi Matt, how could we upload csv files using an sql script to upload instead of doing need manually?
@MattMacarty2 жыл бұрын
This tends to be problematic due to security settings in MySQL. You are looking for LOAD DATA INFILE [filename]. Here's a link to the documentation: dev.mysql.com/doc/refman/8.0/en/load-data.html
@tiagoaicapital2 жыл бұрын
@@MattMacarty Thank you for the feedback
@philosophyandreligion2 жыл бұрын
Great tutorial! 1 question. I’m new to the computer verse. Was that data sheet created in Excel?
@MattMacarty2 жыл бұрын
Thanks. The data used started as an Excel file but was converted into .csv from within Excel.
@philosophyandreligion2 жыл бұрын
@@MattMacarty “This file type is not supported. Valid options are: CSV, JSON” That’s the notification I keep getting - even after I converted the file to CSv format. Trust me, I tried all of the csv format and I keep getting the same disappointment. I don’t know what to do now. May there is a setting in excel..🤦🏾♂️
@MattMacarty2 жыл бұрын
@@philosophyandreligion Are you on a MAC? Try installing a simple text editor like sublime text or atom. Open the file with the text editor and then copy and paste the data over itself and save. Try the upload then.
@aparise13 жыл бұрын
Great video! Is it possible to import more than 1000 rows with the wizard? Does creating the DB manually allow for more?
@MattMacarty3 жыл бұрын
Thanks. Yes you can import much larger files it just may be a little slow. The limit on output can also be changed to allow more or less results to display in your result set.
@brisikog3 жыл бұрын
i am facing this problem while importing data unhandled exception :list index out of range and data is not importing please help me with this if u can???
@MattMacarty3 жыл бұрын
It sounds like the data you are trying to import may have to be cleaned. Probably some kind of invalid data. Try opening the file with a text editor. Usually Workbench will tell you what line in the data the problem happens at.
@cesarl.c.8473 жыл бұрын
Hi Bhuvan, after view great video, to review LoaderDataPlus tool. This tool import flat files and export to MYSQL, MARIADB sintax and other DMBS, also parsing and detect data type.
@brisikog3 жыл бұрын
Thanks both of you there was some problem with the data ....I solved it... thanks again
@mansitomar85492 жыл бұрын
great great great video.........
@MattMacarty2 жыл бұрын
Thank you. Glad it helped.
@maheshdravidar3694 Жыл бұрын
Hi Matt, First of all thanks for brilliant videos. I am loving it. Now to the question, i am trying to import the file to change the date format but while loading the through import wizard, its loading zero data. I am following all your steps mentioned from 11:50, please advise what am i missing.
@MattMacarty Жыл бұрын
So you mean the date is in some format other than ISO? I would try to import the date column as text and then convert it in MySQL to see if that works better.
@bsbteck Жыл бұрын
Greate Job Sir
@MattMacarty Жыл бұрын
Glad it helped
@milkandeto16223 ай бұрын
So helpful.
@MattMacarty3 ай бұрын
Glad it was helpful
@granand3 жыл бұрын
Thank you Matt. Great tutorial and help. Please may I know where is this database stored which we are creating in the localhost. Can we change that location to external drive? 2. How to load .bak datasets, I have downloaded?
@MattMacarty3 жыл бұрын
In Windows you can find your database files here: C:\ProgramData\MySQL\MySQL Server 8.0\Data The programdata folder is hidden by default so go to file explorer and open This PC, then click the view tab at the top and check the Hidden items check box on the right of the ribbon
@devconnie Жыл бұрын
Matt, tks for your reply and tried to download the file. However, the data file did not open and link with the database, and maybe I was doing something wrong. If you put a video about downloading and linking the data that would be great. tks.
@MattMacarty Жыл бұрын
OK. You have a couple of options here. You can download the files as a .zip and then extract them or you can clone the github repository. Let me see if I can get a tutorial together.
@devconnie Жыл бұрын
Hi Matt, tks for the great video. However, how to download the data file and upload
@MattMacarty Жыл бұрын
Here is a link to all the MySQL files: github.com/mjmacarty/mysql
@pratyushsinha3743 жыл бұрын
Thank you so much!
@MattMacarty3 жыл бұрын
Glad it helped
@bushidoGF2 жыл бұрын
Thank you for this
@MattMacarty2 жыл бұрын
Glad it helped
@diazjubairy17294 жыл бұрын
could you make tutorial about how to make ER Diagram from excel files to mysql worbench ?
@MattMacarty4 жыл бұрын
Sure. I will try to get to this soon.
@diazjubairy17293 жыл бұрын
@@MattMacarty thank you sir
@Mr.nikk62 Жыл бұрын
thank you so much sir
@MattMacarty Жыл бұрын
Glad it helped
@mehdighomshe23464 жыл бұрын
thank you for your video
@MattMacarty4 жыл бұрын
Glad it helped
@jimmywheeler36013 жыл бұрын
Thanks Matt, I'm running into an issue in which the import wizard is taking a very long time. I'm using the owid covid data which comes out to around 33 MB. Is something wrong that it has been 10 minutes and the progress bar is still at 0? I had tried using the 'LOAD DATA INFILE...' command but kept ending at error 1290 and go stuck on 'secure_file_priv'. Is there a better way to get this data into MySQL? Thank you again
@MattMacarty3 жыл бұрын
With a typical installation's security settings, it's nearly impossible to use LOAD data. In Workbench can take a very long time, but it is likely that there is something in your data set that MySQL is getting hung up on. Try taking a look at the data in a txt editor and see if there are any hidden characters that may be causing the problem.
@jimmywheeler36013 жыл бұрын
@@MattMacarty Thank you for the insight! I've made an attempt to split the data in half in R, change all my data types to text to avoid type errors. It's running now and I have yet to run into any errors in the message log but am not holding my breath. I've got 125K entries with 65 columns, could the upload go any smoother if I were to chop the main data set into 15 column chunks that I can join back together later?
@oluwafemihunsu6200 Жыл бұрын
Jimmy what do you mean by spliting it into half
@joseraphaelmarquez8189 Жыл бұрын
Hello! I just want to ask if it is possible to hide the unwanted database or can I just create new file/project to makd it look more organized? Thank you in advance!! 😊
@MattMacarty Жыл бұрын
The Workbench is really sort of a development environment for interacting with your databases. I don't think you can hid what you dont want to see unless you just close the schema pane. There are other tools you can try like Tables Plus that may do more of what you are looking for
@khong64603 жыл бұрын
A nice and clear intro to SQL workbench - MANY THANKS A qq, do I need to 'drop' the table every time when I wish to run the code before moving on to the next part? I never used the 'drop' trick, so workbench just returned a red cross with table already exists? TA !
@MattMacarty3 жыл бұрын
Hi no you don't need to drop table unless you want to start over.
@khong64603 жыл бұрын
@@MattMacarty thanks for replying. I tried to re-run the whole program after inserting data into the table i created in part 1, but SQL workbench can't run that saying the table is already exist ? Cheers
@MattMacarty3 жыл бұрын
@@khong6460 OK, just skip the line where you CREATE TABLE. You can run one line at a time in the Workbench editor, or just comment the CREATE line out.
@alazart33833 жыл бұрын
i have an error and i ve been trying to solve for hours please help me when i want to import i get an error called ascii codec cant decode byte 0xef in position 0: ordinaş not in range (128). and i use mysql workbench 8.0.24
@MattMacarty3 жыл бұрын
If you are importing data into a pre-designed table you might have defined the first column as a tiny int which will only accept values up to 128. You can alter your table or try to import the data into a new table. You may also have are some characters in your data that you can't see. Try opening the data with a plain text editor and see if you can find it.
@alazart33833 жыл бұрын
@@MattMacarty i solved thankssss ❤️❤️
@ultrawhiff3 жыл бұрын
What is the version of your SQL workbench?
@MattMacarty3 жыл бұрын
This was done with Windows version 8.0.21
@ultrawhiff3 жыл бұрын
@@MattMacarty thank you sir.
@pavitras60582 жыл бұрын
Do u have video on how install n setup MySQL pls share me and I need it on 6.3ce workbench
@MattMacarty2 жыл бұрын
I have a document if you email me I will send it to you. Tell me if you are using MAC or Windows
@divyanshupawar80693 жыл бұрын
Very helpful
@MattMacarty3 жыл бұрын
Glad it helped
@samratkundu2799 Жыл бұрын
What should I do with the large data having more than 20K rows with messy/NULL values..? I may not know if the data type has really maintained to the entire row or not (and not possible to check entire dataset manually).. It's getting very tough to import the data successfully to MySQL table. The Import Data Wizard is really slow in this task. Is there any other way to this more efficiently whithout loosing anything ? please let me know.. I'm unable to complete my portfolio projects 😥
@MattMacarty Жыл бұрын
You can try the import as a generic data type like text. Workbench is very slow with larger datasets. You may wan to try something like TablePlus
@LalitSoni-s2f2 ай бұрын
sir what if we use d/m/y date format instead of m/d/y ..will it work ?
@MattMacarty2 ай бұрын
The goal should be to get dates into ISO format for sorting. Yes you can use %d/%m/%Y to import European format
@renancatan3 жыл бұрын
Very nice! Mysql community version is free, right? Do you know how much space can I use? Another question, I saw that youre importing your connection from a local server, is it really on the cloud, how do I do to store my data/retrieve it through a cloud connection without being "local" in python through mysql?
@MattMacarty3 жыл бұрын
Yes MySQL is free to download and use, community edition. I have both localhost connection and remote, (cloud or network server). You will just need the address for the remote connection to set it up and a username and password to connect with.
@fact4education2 жыл бұрын
Thank you!
@MattMacarty2 жыл бұрын
Glad it helped
@sareenasanil40533 жыл бұрын
Can you tell how to treat the blank cells while importing from excel to mysql workbench. I want them to be null and converting datatype from text to int .
@MattMacarty3 жыл бұрын
You probably have to do the manipulation after you import. If values are blank they should automatically come in as Null
@Nanoo-zi4fg2 жыл бұрын
When loading the data.csv file, I get an error "Unhandled exception: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)". The file is saved as UTF-8 .csv file but mysql will not load it. I google searched the error message and there are lots of others experiencing the same but no solution.
@MattMacarty2 жыл бұрын
Try opening the file with a plain text editor such as notepad++. Look for the character and delete it. You won't see it in Excel. You can try saving the file out in plain .csv after opening with notepad++ as that may fix the problem.
@vinaybora6172 жыл бұрын
Awesome!! Dude
@MattMacarty2 жыл бұрын
Glad it helped
@MattMacarty2 жыл бұрын
Glad it helped
@samuelribeiro50224 жыл бұрын
Thanks for sharing, but you can make another tutorial showing how to integrate this data in a web page?
@MattMacarty4 жыл бұрын
Thanks. Do you mean how to serve data from MySQL database to a webpage/site?
@samuelribeiro50224 жыл бұрын
@@MattMacarty Yeah, exactly.
@MattMacarty4 жыл бұрын
@@samuelribeiro5022 OK, the problem is there are so many different ways to do this. It will depend on the server-side software you are going to use. One common implementation is PHP and MySQL.
@Pollanese163 жыл бұрын
Hi. Thanks for this! I just went through this exercise but my chart is not appearing at all. Any idea what I am doing wrong? I did not even see a chart when I added in the headings. I'm a total newbie to MySQL
@MattMacarty3 жыл бұрын
There is a little refresh icon in the upper right of the navigation pane. Click and the new database should display. They will also display the next time you connect to the server.
@Pollanese163 жыл бұрын
@@MattMacarty Thanks. I appreciate the reply. Yea, I wasn't refreshing and selecting the new database. I figured it would automatically recall it. I was going crazy. Lol
@azimshikalgar692 жыл бұрын
Hello, How to install DVD rental database in MySQL as it's in postgreSQL
@MattMacarty2 жыл бұрын
It's probably not directly compatible. Even though most of the query language is the same, these two products diverge in database implementation. I would do a search to see if someone has created a MySQL version. I am not familiar with that databse, but it sounds suspiciously similar to Sakila in MySQL
@colinz72344 жыл бұрын
hi, thanks for sharing this tutorial. But I encounter an issue when I importing the database. I lost some database after upload but there are no error shows. Do you know how to fix it?
@MattMacarty4 жыл бұрын
Hi, I will need a bit more to go on. What database are you trying to upload?
@colinz72344 жыл бұрын
@@MattMacarty hi, thank you for replying. I’m using a database called “Biden NY state all contributions”
@abdulazizamen82863 жыл бұрын
can you help me, how to read a list of values from a table and put them in a variable in CSV format
@MattMacarty3 жыл бұрын
After you run your query, at the top of the results grid there is a button to export. That is probably the easiest way to do it.
@abdulazizamen82863 жыл бұрын
@@MattMacarty Thank you
@ic_nivad7767 Жыл бұрын
Hi Matt, thanks for the video! I have a question: why did my import (9 MB .csv) take so long to finish? 30 minutes passed, and it is still going. Would you happen to have any comments on this? Thanks for the time.
@MattMacarty Жыл бұрын
Workbench can be pretty slow importing data. There could be a problem with the data too. I would install TablePlus and try the import there. TablePlus is a client that can handle large imports much more quickly, and if there is a problem with data you will see that very quickly.
@ic_nivad7767 Жыл бұрын
thank you for your time @@MattMacarty
@SamandarImamaliyev Жыл бұрын
which version of MySQL do you use in the video?
@MattMacarty Жыл бұрын
It's MySQL "8"
@SamandarImamaliyev Жыл бұрын
@@MattMacarty i am using MySQL 8.0.32, foreign key is not working properly for int values. which version of 8 are you using i want to download that one so i' ll check if it works properly or not
@MattMacarty Жыл бұрын
That video was probably 29 or 30. To implement a foreign key both data types have to be the same. So maybe you are trying to relate INT and something else? Or if you already have data in the tables you may be violating referential integrity.
@КамиллаГарифуллина-р4ю3 жыл бұрын
Thank you a lot, it's the best tutorial! However, I've faced the problem: 0 records imported. Please, can u say me how to fix it?
@MattMacarty3 жыл бұрын
This usually means there's a error in the data type you are trying to import. Try importing the data into a new table and then modify the definitions as needed.