title: Trying to connect with local database using Prolog and MySQL Workbench
body: <p>Can you guide to connect my local database with prolog and dump the tables?
  I am using MySQL Workbench. can anyone help me?</p>
  <p>My code is</p>
  <pre><code>use_odbc :- open_wordnet,
              disconnect_database().
  
  open_wordnet :- odbc_connect('Data Source=(localhost)\\MSSQLLocalDB;Integrated Security=SSPI;', _,
                  [ user('root'),
                  password('welcomesai08@948'),
                  alias(student),
                  open(once)
                  ]).
  
  disconnect_database() :- odbc_disconnect(myDB).
  </code></pre>
  <p>And I'm getting error like this..</p>
  <pre><code> % consulting c:\sai\sai.pl...
       SYNTAX ERROR at sai, near line 2:
   use_odbc :- open_wordnet , disconnect_database(
  &lt;==== HERE ====&gt;
   ).
       SYNTAX ERROR at sai, near line 11:
   disconnect_database(
  &lt;==== HERE ====&gt;
   ) :- odbc_disconnect( myDB ).
   % consulted c:\sai\sai.pl in module user, 0 msec 3144 bytes
  yes
  </code></pre>