Posted on 06-18-2014 03:12 PM
I'm sure this has probably been answered, but I cannot find anything on it.
We are working on upgrading our JSS system to 9.32 over the next couple of days and I'm having an issue with the location of the database.I currently have a Windows 2012 Server box running the JSS installation.
Our MySQL database is on a separate local drive. For some reason, when I installed JSS it didn't give me the option to connect to it at a specified location. I'm somewhat new at this and was wondering if I could get some assistance?
Sincerely,
TJ
Solved! Go to Solution.
Posted on 06-19-2014 06:46 AM
From what I understand, when you install the JSS it looks for a local instance of MySQL. If there isn't one, it asks for a location. So assuming it's on the same box as the JSS, it grabs it automatically.
Posted on 06-19-2014 05:32 AM
You don't need a local path. Its going to essentially use localhost:3306 to connect to the mysql service. It's not a file you specify as much a network address and port number that the service interacts with. I would google MySQL and read the wiki article at least if you need to know more specifics.
Posted on 06-19-2014 06:27 AM
So, as long as the MySQL service is running on the machine, it doesn't matter where the database is stored?
That's kinda nice.
Posted on 06-19-2014 06:46 AM
From what I understand, when you install the JSS it looks for a local instance of MySQL. If there isn't one, it asks for a location. So assuming it's on the same box as the JSS, it grabs it automatically.
Posted on 06-19-2014 06:59 AM
Fantastic.
Thank you very much to the both of you. @emilykausalik and @jdziat.
Posted on 06-19-2014 08:52 AM
You could have a look in the database.xml file, this is where the database location, path, name etc are stored.
In Windows this 'should' be in: C:Program Files/Apache Tomcat Foundation/Tomcat 7/webapps/ROOT/WEB-INF/xml/database.xml
Hope this helps
Posted on 02-21-2017 01:52 AM
Is there anyway, that the DataBase.xml can be encrypted, as the <DataBaseUser> & <DataBasePassword> are clear text?
Posted on 02-21-2017 10:37 AM
@Dinnerticketboy AFAIK that's a Tomcat thing...
I'd be more worried about folks getting far enough to read the contents of the xml.. & not so much the contents itself.
Posted on 06-27-2017 11:33 AM
Yeah, I would need that file encrypted as well. Basic rule of thumb, do not store a password in clear text. If you are working for the government, no clear text password can exist like that. This would be a show stopper.