MySQL Forums
Forum List  »  Newbie

Re: Same QUERY not working on PHP and works in MySQLWorkbench
Posted by: Barry Galbraith
Date: June 23, 2023 06:27PM

First up, MariaDB is NOT MySQL. They are similar, but different.
In MySQL
>USE mmike_devtest
has no ; at the end.

However, if you use one in commandline client it will forgive you, and ignore it.

To find out MariaDB behaviour, you should ask in a MariaDB forum.
Or just remove the ; and see what happens.

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
Re: Same QUERY not working on PHP and works in MySQLWorkbench
June 23, 2023 06:27PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.