<div dir="ltr">Hello Dominik,<div><br></div><div>Thank you for your reply. You are correct. After I set "owner" and "can login", I can log in from psql. </div><div><br></div><div>When I first type <span style="background-color:rgb(241,241,241);color:rgb(0,0,0);font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:14px;letter-spacing:0.015em">\i C:/OMERO.server/OMERO5.2__0.sql</span> command. It gives me feedback as first attachment(" alter table" ...). But I click "x" but not type "\q" to quit. </div><div>I open the psql again and type <span style="background-color:rgb(241,241,241);color:rgb(0,0,0);font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:14px;letter-spacing:0.21px">\i C:/OMERO.server/OMERO5.2__0.sql</span> command. It gives me transaction error. </div><div><br></div><div>In cmd window, there is still diagnostics problem. I think it might due to psql.</div><div><br></div><div>Thank you very much again.</div><div><br></div><div>Regards,</div><div>Qi</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 6, 2017 at 4:18 AM, Dominik Lindner (Staff) <span dir="ltr"><<a href="mailto:d.lindner@dundee.ac.uk" target="_blank">d.lindner@dundee.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hi Qi,
<div><br>
</div>
<div>can you check that the owner of the omero database is the omero user/login role you created previously.</div>
<div>With pgAdmin 4 it would look like this (instead your database name as well as login role apparently would be "testOmero"):</div>
<div><br>
</div>
<div><img id="m_-1936970299526787733CA34773A-360E-4970-BCFB-14E427862B0D" height="191" width="512" src="cid:C8F9EB75-6D66-43EC-8BCC-0DEEC65CCFD5@lifesci.dundee.ac.uk"></div>
<div><br>
</div>
<div>Also check that the omero user/login role has the permission to log in.</div>
<div>With pgAdmin 4 it would look like this:</div>
<div><br>
</div>
<div><img id="m_-1936970299526787733D572062E-5814-4C48-A382-E3AC82A2301C" height="327" width="507" src="cid:27113DEA-D1A5-47B4-AC76-8847A6EBE0D9@lifesci.dundee.ac.uk"></div>
<div><br>
</div>
<div>Regards,</div>
<div>Dominik</div>
<div><br>
</div>
<div><br>
<div>
<blockquote type="cite"><span class="">
<div>On 3 Mar 2017, at 21:55, Qi Gong <<a href="mailto:qigong@gwmail.gwu.edu" target="_blank">qigong@gwmail.gwu.edu</a>> wrote:</div>
<br class="m_-1936970299526787733Apple-interchange-newline">
</span><div>
<div dir="ltr">Hello Dominik,
<div><br>
</div><span class="">
<div>Sorry for reply late. The "<span style="font-size:12.8px">Set the data directory" command is working. Now I could set root_password. But I still face some problem. (I set root password to "testOmeroRoot")</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">1. In SQL Shell. It says the role is not permitted.</span></div>
<div><span style="font-size:12.8px">2. In cmd, there is diagnostics problem.</span></div>
<div><span style="font-size:12.8px">3. In cmd, can't start admin.</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">Thank you very much. </span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">Regards,</span></div>
<div><span style="font-size:12.8px">Qi</span></div>
</span></div>
</div>
</blockquote>
</div>
<br>
</div><span class="">
<br>
<span style="font-size:10pt">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</span></div>

<br>______________________________<wbr>_________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.<wbr>openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">http://lists.openmicroscopy.<wbr>org.uk/mailman/listinfo/ome-<wbr>users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">mobile phone: 2024060862</div>
</div>