Oracle Weblogic \MySQL \MySQL unexpected at this time

I am trying to run an application cloned from a git repo on my local system. After cloning and maven install, when I try to start the oracle web logic server, I get the error:

\MySQL \MySQL unexpected at this time

I tried removing MySQL from classpath and path of environment variables and even uninstalled MySQL Connector J thinking that MySQL was creating these problems but no matter what I do, it always keeps giving this error and the server doesn't start at all.

These are the steps that I have followed: 1. Cloned the repo. 2. Imported all the files to eclipse. 3. Created a new weblogic server on eclipse. 4. Did maven clean and install: build is successful. 5. Try to run the server to get the above mentioned error.

I'm a newbie to Oracle WebLogic server and I'm using the version 10.3.5

Any help will be very much helpful.

Answers


Various MySQL installs push an entry into your PATH environment variable like:

C:\Program Files\MySQL\MySQL Enterprise Backup 3.11\;"C:\Program Files (x86)\MySQL\MySQL Fabric 1.5.3 & MySQL Utilities 1.5.3 1.5\";C:\Program Files (x86)\MySQL\MySQL Server 5.6\bin;

Yours could be different depending upon which MySQL components you installed. The exact sequence of spaces and quotes can be a problem when the "set" command is called to start a window. If you don't need the MySQL binaries in your PATH you could pull all of that out. If you do need it, they experiment with the location of quotes and even installation directories so that the problem goes away.


Need Your Help

Speed up loading times while using Phonegap

android html5 optimization cordova

I'm using Phonegap to build my apps, and they are working beautifully. My only problem is how long it takes to load pages.