I
could not find anywhere talking about mysql setup, like what username
and password I need to set up for connection, what DB or table needs to
be created.
Specifically, I have installed mysql to /usr/local/mysql, and set up root password, and issued following command
bin/addcourse --db-layout=sql --sql-user=root --sql-pass=secret
--sql-db=webwork_admin --sql-wwhost=localhost
--users=courses/adminClasslist.lst --professors=admin demo_course
ERROR 1075 at line 21: Incorrect table definition; There can only be
one auto column and it must be defined as a key
DBI connect('ProblemLibrary','webworkRead',...) failed: Access denied
for user: 'webworkRead@localhost'
to database 'ProblemLibrary' at
/opt/webwork2/lib/WeBWorK/DB/Driver/SQL.pm line 39
error instantiating DB schema WeBWorK::DB::Schema::SQL for table
problem_library_classify: Can't call method "STYLE" without a package
or object reference at /opt/webwork2/lib/WeBWorK/DB/Schema.pm line 81.
at /opt/webwork2/lib/WeBWorK/Utils/CourseManagement.pm line 161
Any idea, thanks.
<| Post or View Comments |>
|