Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- это то что твой выдает
- The server doesn't grant access to the database: the server reports
- FATAL: no pg_hba.conf entry for host "192.168.61.36", user "tester", database "test", SSL off
- To access a database on a PostgreSQL server, you first have to grant primary access to the server for your client (Host Based Authentication). PostgreSQL will check the pg_hba.conf file if a pattern that matches your client address / username / database is present and enabled before any SQL GRANT access control lists are evaluated.
- The initial settings in pg_hba.conf are quite restrictive, in order to avoid unwanted security holes caused by unreviewed but mandatory system settings. You'll probably want to add something like
- host all all 192.168.0.0/24 md5
- This example grants MD5 encrypted password access to all databases to all users on the private network 192.168.0.0/24.
- мой коннектится но база без структуры вылетает на
- Exception in thread "main" java.lang.NullPointerException
- at ru.kih.sin.model.create.Mapping.<init>(Mapping.java:36)
- at ru.kih.sin.model.impl.AbstractObjectFunction.<init>(AbstractObjectFunction.java:28)
- at ru.kih.sin.model.impl.SelectObjectFunction.<init>(SelectObjectFunction.java:32)
- at ru.kih.sin.model.impl.ModelImpl.loadEntity(ModelImpl.java:73)
- at ru.kih.sin.napi.impl.CoreImpl.getObjectClass(CoreImpl.java:61)
- at ru.kih.sin.napi.impl.CoreImpl.getChilds(CoreImpl.java:47)
- at ru.kih.sin.dev.Main$SelectNodes.call(Main.java:116)
- at ru.kih.sin.dev.Main$SelectNodes.call(Main.java:110)
- at ru.kih.sql.query.QueryContext.run(QueryContext.java:201)
- at ru.kih.sin.dev.Main.main(Main.java:134)
Add Comment
Please, Sign In to add comment