I don't know much about MYSQL and I'm trying to convert a procedure from pgsql to mysql, however it's claiming that I have this error: You have a syntax error in your SQL next to ''. I've redone it, but it continues giving this error. This is the MYSQL procedure I want to do: CREATE PROCEDURE cadastro_cliente(IN _cpf VARCHAR(20), IN _nome TEXT, IN _data_nasc DATE, IN _telefone VARCHAR(20), IN _email VARCHAR(100), IN _senha VARCHAR(12), IN _endereco TEXT, IN _cep VARCHAR(20), IN _cidade VARCHAR(50), IN _estado CHAR(2), IN _caminho_foto_perfil TEXT) BEGIN SET @query = CONCAT("INSERT INTO cliente (cpf, nome, data_nasc,telefone, email, senha, endereco, cep, cidade, estado, caminho_foto_perfil) VALUES (", QUOTE(_cpf),",", QUOTE(_nome),",", QUOTE(_data_nasc),",", QUOTE(_telefone),",", QUOTE(_email),",", QUOTE(_senha),",", QUOTE(_endereco),",", QUOTE(_cep),",", QUOTE(_cidade),",", QUOTE(_estado),",", QUOTE(_esta_caminho_foto_perfildo),");"); PREPARE stmt FROM @query; EXECUTE stmt; DEALLOCATE PREPARE stmt; SET @query = NULL; END; Continue reading...