From 9b29da9cead4d120b64a7793a6f0874fd1a0dc47 Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Mon, 19 Feb 2018 19:52:47 +0100 Subject: [PATCH] CLI Mysql related hint --- Klausuren/Sda1/2017winter/Solve/Doc/exam.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Klausuren/Sda1/2017winter/Solve/Doc/exam.xml b/Klausuren/Sda1/2017winter/Solve/Doc/exam.xml index 57971c6b7..924c9d30c 100644 --- a/Klausuren/Sda1/2017winter/Solve/Doc/exam.xml +++ b/Klausuren/Sda1/2017winter/Solve/Doc/exam.xml @@ -364,7 +364,16 @@ symA.xml</screen></td> <para>You may want to import the sample schema and data being found in <filename>Sql/student.sql</filename> into your local <productname>Mysql</productname> server prior to extending the provided - Java skeleton.</para> + Java skeleton. You may use your IDE or depending on your project's root + location (e.g. <filename>Downloads</filename>) simply type in a + shell:</para> + + <screen>goik@goiki tmp> mysql -u hdmuser -pXYZ hdm < ~/PROJECTROOT/Exam/Sql/student.sql +id name studyCourse gender fullTime +100 Eve MIB f 1 +101 John PMM m NULL +102 Bill NULL m 1 +103 Petra CSM m 0</screen> </section> <section xml:id="task_2_descr"> @@ -544,7 +553,7 @@ INSERT INTO Student VALUES(103, 'Petra', 'CSM', 'm', FALSE );</programlisting></ </section> <section version="5.1" xml:id="task3_uploadFollow" xml:lang="de"> - <title>Solution upload </title> + <title>Solution upload</title> <para>Upload your project using the previous exercise. Enter either of the following two texts:</para> -- GitLab