mysql-connector-java error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

mysql-connector-java error

Craig Parker
I'm following some directions I wrote a few months ago, and they don't
work any more. I'm getting:

Could not find mysql:mysql-connector-java-8.0.13.jar

During my process. I've got the actual file in there now, though my
instructions say to ln -s it (I tried it both ways). Anyone know what's
happening? It's erroring out farther down the build.gradle than the
mysql line, but I'm assuming there's something wrong with the file path.

I'm at:

./gradlew cleanAll loadDefault

on the notes I kept here:

http://216.246.150.105:31415/ofbizdocs/?p=360


Any ideas?

Reply | Threaded
Open this post in threaded view
|

Re: mysql-connector-java error

Jacques Le Roux
Administrator
Hi Craig,

Did you read this in the main readme.adoc file:

    _Note_: If you want to use an external database like MySQL or PostgreSQL, read
    the "Setup an external database" section to set it up.

HTH

Jacques

Le 29/12/2018 à 05:40, Craig Parker a écrit :

> I'm following some directions I wrote a few months ago, and they don't work any more. I'm getting:
>
> Could not find mysql:mysql-connector-java-8.0.13.jar
>
> During my process. I've got the actual file in there now, though my instructions say to ln -s it (I tried it both ways). Anyone know what's
> happening? It's erroring out farther down the build.gradle than the mysql line, but I'm assuming there's something wrong with the file path.
>
> I'm at:
>
> ./gradlew cleanAll loadDefault
>
> on the notes I kept here:
>
> http://216.246.150.105:31415/ofbizdocs/?p=360
>
>
> Any ideas?
>
>
Reply | Threaded
Open this post in threaded view
|

Re: mysql-connector-java error

Jacques Le Roux
Administrator
Oops, missed you are using a R16 packaged release, and this information and task is indeed not there.

Maybe the symlink does not work? But why would it have worked and not now? Weird!

Jacques

So you are on your own to get and install it.

Le 29/12/2018 à 19:01, Craig Parker a écrit :

> I don't see such a doc, and I don't see the info in README.md. I haven't found it yet up on the Confluence pages yet either. I could just be
> ignorant (no offense taken if you tell me so -- ha ha)
>
> On 12/29/18 4:50 AM, Jacques Le Roux wrote:
>> Hi Craig,
>>
>> Did you read this in the main readme.adoc file:
>>
>>    _Note_: If you want to use an external database like MySQL or PostgreSQL, read
>>    the "Setup an external database" section to set it up.
>>
>> HTH
>>
>> Jacques
>>
>> Le 29/12/2018 à 05:40, Craig Parker a écrit :
>>> I'm following some directions I wrote a few months ago, and they don't work any more. I'm getting:
>>>
>>> Could not find mysql:mysql-connector-java-8.0.13.jar
>>>
>>> During my process. I've got the actual file in there now, though my instructions say to ln -s it (I tried it both ways). Anyone know what's
>>> happening? It's erroring out farther down the build.gradle than the mysql line, but I'm assuming there's something wrong with the file path.
>>>
>>> I'm at:
>>>
>>> ./gradlew cleanAll loadDefault
>>>
>>> on the notes I kept here:
>>>
>>> http://216.246.150.105:31415/ofbizdocs/?p=360
>>>
>>>
>>> Any ideas?
>>>
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Squeaky Clean DB

Craig Parker
Is this still how to get a clean db that you can  then start putting
real data in?

./gradlew "ofbiz ‐‐load-data readers=seed,seed-initial"
loadAdminUserLogin -PuserLoginId=admin


I'm getting an error about this command not being valid any more:


===============================================================================
unrecognized options / properties: [‐‐load-data, readers=seed,seed-initial]
===============================================================================


Reply | Threaded
Open this post in threaded view
|

Re: Squeaky Clean DB

Jacques Le Roux
Administrator
Le 03/01/2019 à 02:43, Craig Parker a écrit :

> Is this still how to get a clean db that you can  then start putting real data in?
>
> ./gradlew "ofbiz ‐‐load-data readers=seed,seed-initial" loadAdminUserLogin -PuserLoginId=admin
>
>
> I'm getting an error about this command not being valid any more:
>
>
> ===============================================================================
> unrecognized options / properties: [‐‐load-data, readers=seed,seed-initial]
> ===============================================================================
>
>
>
Which version are you using?

Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Squeaky Clean DB

Craig Parker
16.11.05


On 1/3/19 12:26 PM, Jacques Le Roux wrote:

> Le 03/01/2019 à 02:43, Craig Parker a écrit :
>> Is this still how to get a clean db that you can  then start putting
>> real data in?
>>
>> ./gradlew "ofbiz ‐‐load-data readers=seed,seed-initial"
>> loadAdminUserLogin -PuserLoginId=admin
>>
>>
>> I'm getting an error about this command not being valid any more:
>>
>>
>> ===============================================================================
>>
>> unrecognized options / properties: [‐‐load-data,
>> readers=seed,seed-initial]
>> ===============================================================================
>>
>>
>>
>>
> Which version are you using?
>
> Jacques
>