The on in the main ofbiz directory /usr/local/ofbiz/build.gradle
On Wed, May 9, 2018 at 7:40 AM, Deepak Dixit <deepak.di...@hotwaxsystems.com > wrote: > Hi Wolfgang, > > Could you please share in which build.gradle you are adding > pluginLibsRuntime? > > if you are using main build.gradle then you need to add following entry: > > runtime mysql:mysql-connector-java:5.1.25-3 > > > And if you are using plugins component build.gradle file then you need to > use > > pluginLibsRuntime "mysql:mysql-connector-java:5.1.25-3" > > > > > > Thanks & Regards > -- > Deepak Dixit > www.hotwax.co > > On Wed, May 9, 2018 at 1:07 AM, wp.rauchh...@gmail.com < > wp.rauchh...@gmail.com> wrote: > > > I am trying to install ofbiz in a CENTOS 7 server with mariadb. > > Ofbiz runs fine with derby database, but I am not getting mariadb up and > > running > > This is what I did so far > > created databases in mariadb > > the following connector is installed: mysql-connector-java-5.1.25-3. > > el7.noarch > > I added the following line to the build.gradle file: > > > > ... > > dependencies { > > // ofbiz compile libs > > > > pluginLibsRuntime "mysql:mysql-connector-java:5.1.25-3" > > > > compile 'apache-xerces:xercesImpl:2.9.1' > > compile 'com.google.zxing:core:3.2.1' > > .. > > > > > > * What went wrong: > > A problem occurred evaluating root project 'ofbiz'. > > > Could not find method pluginLibsRuntime() for arguments > > [mysql:mysql-connector-java:5.1.25-3] on root project 'ofbiz'. > > > > > > What am I doing wrong? Thanks for your help. Wolfgang > > > > > > > > On 2018/05/08 16:40:15, Deepak Dixit <deepak.di...@hotwaxsystems.com> > > wrote: > > > Hi wp.rauchholz, > > > > > > Your email has been moderated, Please subscribe mailing list > > > http://ofbiz.apache.org/mailing-lists.html > > > > > > > > > Thanks & Regards > > > -- > > > Deepak Dixit > > > > > > > > > ---------- Forwarded message ---------- > > > From: "wp.rauchh...@gmail.com" <wp.rauchh...@gmail.com> > > > To: <user@ofbiz.apache.org> > > > Cc: > > > Bcc: > > > Date: Tue, 08 May 2018 15:10:52 -0000 > > > Subject: Connect to mariadb > > > Good day, > > > > > > would you please confirm that the procedure referenced underneath is > > still > > > up to date to connect to mariadb? I can't make it happen. Is there a > > better > > > procedure out there? > > > > > > java -jar ofbiz.jar -install: throws out a message that -install is > > unknown > > > option > > > > > > https://cwiki.apache.org/confluence/display/OFBIZ/How+ > > > to+migrate+OFBiz+from+Derby+to+MySQL+database > > > > > > > > > Thank you for your help, Wolfgang > > > > > > -- Wolfgang Rauchholz