<div dir="ltr">I need to correct my original statement: the column name is 'checking', not 'mycheck'</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 12, 2018 at 1:28 PM, Larry Dalton <span dir="ltr"><<a href="mailto:larrydalton71@gmail.com" target="_blank">larrydalton71@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It am running lazarus 1.8.2 on linux 17.2, and trying to connect to mysql 5.7. <div> I have a database named 'boa', with 5 columns, the first named 'mycheck';</div><div><br></div><div>I am using a TMySql57Connection, named boaconnection with the following settings:</div><div>Databasename=boa;</div><div>HostName=localhost</div><div>KeepConnection=false</div><div>LoginPrompt=false</div><div>Transaction=boatransaction</div><div>UserName=root,</div><div><br></div><div>A TSqlTransaction named boatransaction</div><div>Database named boaconnection</div><div><br></div><div>A TDatasource with DataSet set to BoaQuery</div><div><br></div><div>A TSqlQuery named boaquery with the following settings</div><div>Database=boaconnection</div><div>Transaction=boatransaction</div><div>SQL='Select * from Checking</div><div><br></div><div>When I try to set boaquery.active to 'true' I get the following error code:</div><div>BoaConnection: Error executing query: Can't find file: './boa/checking.frm' (errno: 13-Permission denied).</div><div><br></div><div>When I leave boaquery.active set to 'false', and run the program, when I try to open the table, I get: </div><div>Project MoneProject raised exception class 'ESQLDatabaseError' with message:</div><div>BoaConnection:Error executing query: Can't read dir of './boa/' (errno:13-Permission denied)</div><div><br></div><div>How can I correct these errors? </div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div>