Hi there,
I have just started to work with WebMatrix and stuck at the first place. I am trying to use the template "Starter site" by changing default databse into a MySQL database. I have the latest MySQL drivers installed.
However I cannot successfully create an account. This line throws an MySQL error:
Error line:
var token = WebSecurity.CreateAccount(email, password, requireEmailConfirmation);
Error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[UserId] FROM [UserProfile] WHERE (UPPER([Email]) = 'TE3ST@TEST.DE')'
I can fully understand that the server is trying to use SQL formatted ( [ ] ) query to MySQL server. How do I recompile or tell the WebSecurity.CreateAccount to use MySQL formatted queries?
Any idea?
Thank you in advance
Krish