[ome-users] OMERO username and password

Dominik Lindner (Staff) d.lindner at dundee.ac.uk
Wed Mar 1 09:01:31 GMT 2017


Hi,

ok your setup seems to be correct then.
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:

C:\> cd C:\OMERO.server

Set all database related settings (using your database name, user and password of course (the password for the database login role you created previously)):
C:\OMERO.server\> bin\omero config set omero.db.name omero_database
C:\OMERO.server\> bin\omero config set omero.db.user db_user
C:\OMERO.server\> bin\omero config set omero.db.pass db_password

Set the data directory (make sure to use the double '\')
C:\OMERO.server\> bin\omero config set omero.data.dir C:\\OMERO<smb://OMERO>

And then finally try to create the database script again:
C:\OMERO.server> bin\omero db script --password root_password

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.

Regards,
Dominik


On 28 Feb 2017, at 18:36, Qi Gong <qigong at gwmail.gwu.edu<mailto:qigong at gwmail.gwu.edu>> wrote:

Hello Dominik,

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

Regards,
Qi


The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20170301/c01dede9/attachment.html>


More information about the ome-users mailing list