I have imported my Access to MySQL through a program. I now want to change some of the columns from null to not null but it won’t let me. An error 1265 comes up saying “data truncated for column” and the other error is error 1046, “no database selected”.
What should I do?
First, select a database
Then, update all rows to a not null value
Then, alter your table