<div dir="ltr">Hello Dominik,<div><br></div><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><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 1, 2017 at 4:01 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,
<div><br>
</div>
<div>ok your setup seems to be correct then.</div>
<div>Can you just try one more thing: Set all config values again, before running the "db script" command, maybe something went wrong earlier when settings the values, i.e. do again:</div>
<div>
<div><br>
</div>
<div>C:\> cd C:\OMERO.server</div>
<div><br>
</div>
<div>Set all database related settings (using your database name, user and password of course (the password for the database login role you created previously)):</div><span class="">
<div>C:\OMERO.server\> bin\omero config set <a href="http://omero.db.name" target="_blank">omero.db.name</a> omero_database</div>
<div>C:\OMERO.server\> bin\omero config set omero.db.user db_user</div>
<div>C:\OMERO.server\> bin\omero config set omero.db.pass db_password</div>
<div><br>
</div>
</span><div>Set the data directory (make sure to use the double '\')</div>
<div>C:\OMERO.server\> bin\omero config set omero.data.dir C:<a>\\OMERO</a></div>
<div><br>
</div>
<div>And then finally try to create the database script again:</div><span class="">
<div>C:\OMERO.server> bin\omero db script --password root_password</div>
<div><br>
</div>
</span><div>With respect to "root_password", sorry, it was a bit confusing. This is not the database password. This is the password which will be used for the "root" user, you can use whatever you like. When you setup the server, there will be one user initially
(with full administrative rights), which is "root" with the password you set here with the "db script" command.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Dominik</div>
<div><br>
</div>
<div><br>
</div>
<div>
<blockquote type="cite"><span class="">
<div>On 28 Feb 2017, at 18:36, Qi Gong <<a href="mailto:qigong@gwmail.gwu.edu" target="_blank">qigong@gwmail.gwu.edu</a>> wrote:</div>
<br class="m_-7226124942766265242Apple-interchange-newline">
</span><div>
<div dir="ltr">Hello Dominik,
<div><br>
</div><span class="">
<div>I edit the path. Now, omero can find java but it still has problem as attachment. I think the problem might come from "bin\omero db script --password testOmero". Do I correct use database user password at here? The error comes from python lib.
I think I installed the correct python extension for windows. Thank you</div>
<div><br>
</div>
<div>Regards,</div>
<div>Qi</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>