1
Defining SET AUTOCOMMIT=0 on connection but not working.
I’m using $mysqli->real_connect()
if (!$conn->options(MYSQLI_INIT_COMMAND, 'SET AUTOCOMMIT=0')) {
$fErro .= '<p>Não foi possível desativar o autocommit</p>';
}
PHP version 5.4.9 or 5.6.12. I’m having the same problem.
No error on AUTOCOMMIT=0 line
– Weliton Figueiredo
Question, the user logged in to do this command has the necessary privileges ?
– SneepS NinjA