MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Installation issue: Incorrect syntax near '4'.  (Closed) (Mono Support )

Viewed 37988 time(s), 12 post(s) 5/5/2014 10:37:30 PMby theAmazingZar


6/26/2014 11:49:54 AM
My guess would be that your database name starts with a "4".
Some of the install scripts don't have [] brackets around database name
So "USE 4real" would produce "Incorrect syntax near '4'."

You could replace in files (\MonoX\Installer\Sql\*.sql) all instances of "USE MonoX2;" to "USE [MonoX2]", or change database name to start with a letter.

Rated 5.00, 1 vote(s). 
1384 Reputation 152 Total posts


7/2/2014 5:13:31 PM
Thanks @idrazic !!  That was it. You rock!

Maybe you guys should update the installation documentation to inform users to specify a correct DB name, or update the installation process so MonoX can accept different DB names? Just a thought.
Rated 5.00, 1 vote(s). 
41 Reputation 6 Total posts
1 2