cloudcoderdotorg / CloudCoder

A web-based programming exercise system.
GNU Affero General Public License v3.0
71 stars 60 forks source link

Error Creating cloudcoder user unknown variable #101

Open Kame790 opened 6 years ago

Kame790 commented 6 years ago

Hello, I have been trying to install CloudCoder and I am getting an error when I get to the

#####################################

Configuring MySQL....<<< ##################################### The error I am getting is: Creating cloudcoder user... mysql: [ERROR] unkown variable 'pass=passwordIChose' command mysql failed.

I am using the Bootstrap installation and I am running linuxmint. I am not sure how to fix this. Could it be because I already had mysql installed.

Any help would be greatly appreciated thanks.

Edit: 4/29/18 I've since tried installing CloudCoder on two different systems all with a fresh installs of Linuxmint. which still gave me the same error.

I then tried these steps:

  1. wiped the system clean and installed Ubuntu Server 18.04 LTS,
  2. used putty to ssh into Ubuntu server
  3. Edited the bootstrap.pl file and changed Openjdk-7-jre-headless to Openjdk-8-jre-headless
  4. ran through the setup once more

I am still having problems with the error: mysql: [ERROR] unkown variable 'pass=passwordIChose'

JimmyBHuynh commented 6 years ago

you have to edit the bootstrap.pl and change pass to password because the new version of mysql does not recognize pass to change go sudo nano ./bootstrap.pl