Setting up Wordpress on Kali Linux

Hi Guys i am trying to set up Wordpress on Kali Linux and its giving an Error 1064 (42000): you have an error in your SQL syntax ;check the manual that corresponds to your MariaDB server version for the right syntax to use

Firstly, what stack are you running it on?

stack ? I am not sure but what i did is i set an database on Maria db for wordpress and also configured apache2 and php.

Can you please elaborate for me ?

Is there any particular reason you are using MariaDB?

do you have any suggestions ?