<div dir="auto">Basically it created a blank table correctly but failed to save the data with a <div dir="auto">"<span style="font-size:medium;white-space:pre-wrap">libEGL warning: DRI2: failed to authenticate" error. That is why I thought it might be related.</span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 20, 2020, 19:58 Jack <<a href="mailto:ostroffjh@users.sourceforge.net">ostroffjh@users.sourceforge.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    <p>It will take me a while to dig through the history of that bug,
      but at first pass, it does not look related.  My problem was
      simply that my login to mysql effectively failed, but the way
      MariaDB (and possibly MySQL) works is that the failure to log in
      is reported with the anonymous user, since the provided user
      credentials failed.  I'm assuming that you can actually log in to
      mysql and peruse the database.  I didn't get close to that far.<br>
    </p>
    <div>On 12/20/20 8:11 PM, El Cas wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="auto">If you do find anything please update ticket <a href="https://bugs.kde.org/show_bug.cgi?id=398410" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=398410</a>
        as this is an open DB ticket I created a while back regarding
        access to DB backend.</div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Sun, Dec 20, 2020, 16:11
          Jack Ostroff <<a href="mailto:ostroffjh@aya.yale.edu" target="_blank" rel="noreferrer">ostroffjh@aya.yale.edu</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I decided to
          test the sql back end, but when I try to save as a mysql  <br>
          database, I get an exception thrown that opening the database
          failed.   <br>
          So, I'm debugging in
          kmymoney/plugins/sql/mymoneystoragesql_p.h.  I've  <br>
          added some debugging output in createDatabase, and found
          something that  <br>
          doesn't make sense to me.<br>
          <br>
          After the maindb.open() fails (around line 2044,) I confirmed
          that  <br>
          among other values, that maindb.userName is "jack" as it
          should be.   <br>
          However, retrieving maindb.lastError.text(), I get "Access
          denied for  <br>
          user ''@'localhost' to database 'mysql' QMYSQL: Unable to
          connect".    <br>
          localhost is correct, as is the blank password, but where is
          the  <br>
          userName?  I'm going to start digging into the code for  <br>
          QSqlDatabase.open() but thought I'd ask first if anyone can
          think of  <br>
          something I might be doing wrong.  Just to confirm, I can run
          mysql at  <br>
          command line, and the database does open, so I know the db
          system  <br>
          (mariadb) is running, and I do have permissions to login.<br>
          <br>
          Jack<br>
        </blockquote>
      </div>
    </blockquote>
  </div>

</blockquote></div>