MySQL ERROR 1290 (HY000) –secure-file-priv option

Ubuntu 16.04 (EASY): Find out where you are allowed to write Then, just write there Mac OSX: Mysql installed via MAMP Find out where you are allowed to write NULL means you’re screwed so you have to create the file “~/.my.cnf” Enable read/write for MySQL installed via MAMP (on Mac): open “MAMP” use spotlight click … Read more

How to use MySQL DECIMAL?

I can’t quite get a grasp of MySQL’s DECIMAL. I need the row to be able to contain a number anywhere from 00.0001 to 99.9999. How would I structure it to work like so?