Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-05-2020 05:53 AM
What are the Authentication method supported by neo4j?
1] Can we create the UTF8 user and password in Neo4j ?
06-05-2020 11:27 AM
Hi, you can use User and Password from a driver and LDAP
06-05-2020 11:47 AM
I believe Neo4j is fully UTF8, see reference quote below with notes on client locale
"even though Neo4j is UTF-8 (and fully capable of handling German umlauts), if you run the same query on a client that runs English locale and on a client that runs German locale, you’ll end up with different results."
06-12-2020 12:19 AM
Thanks For reply. My question is "what is the database query to create the "UTF8" user ?
Query would be helpful here.
06-12-2020 09:47 AM
See docs here
Administration : Users and Roles
(note version selection for documentation is a drop down menu in top right)
Note there are additional ways, some of which are being deprecated going forward
06-15-2020 06:46 PM
Thanks fro the Reply Joel. I am using Neo4j 3,5.14 and there " CREATE USER jake IF NOT EXISTS SET PASSWORD 'xyz'" is not working.
I have created user with " CALL dbms.security.createUser" but when i tried to create UTF-8 user with this getting below error.
neo4j> CALL dbms.security.createUser('ヨゲシュ', 'ヨゲシュ', true);
Username 'ヨゲシュ' contains illegal characters. Use ascii characters that are not ',', ':' or whitespaces.
neo4j>
I checked that the config file has "UTF-8" encoding parameter.
please do let me know your thought on this.
07-08-2020 06:53 AM
07-11-2020 01:46 AM
Hello @deshmukh.yogesh136 and sorry for the delay
It's not because you are using UTF-8 encoding that you will can use every characters available around the world. But you should be able to use characters from this list https://www.utf8-chartable.de/
Moreover, I advice you to use alias in your case, for example instead of ヨゲシュ
, use USER_1
or something like this
Regards,
Cobra
07-12-2020 10:55 PM
Thanks Cobra for the information. So dose it means neo4j dint support Japanese character ?
07-13-2020 01:04 AM
I tried the character set provided by you above comment and tried to create the user but still getting same issue.
CALL dbms.security.createUser('test¥ä1','abc123',true);
Username 'test¥ä1' contains illegal characters. Use ascii characters that are not ',', ':' or whitespaces.
07-12-2020 11:49 PM
According to this article, you can store japanese values:
But I don't think you can create users or databases with non utf-8 characters
07-13-2020 12:39 AM
Thanks Cobra. That's what i want confirm that i can't create database user or db name with UTF-8 character like Japanese in Neo4j.
07-13-2020 12:41 AM
There is no way i can create Neo4j db user with UTF-8 character correct ?
07-13-2020 12:42 AM
You can create databases and users with UTF-8 characters but japanese characters are not encoded in UTF-8.
07-13-2020 01:11 AM
The error is pretty clear:
Username 'test¥ä1' contains illegal characters. Use ascii characters that are not ',', ':' or whitespaces.
Use ASCII characters from this table but not ,
and not :
07-13-2020 01:31 AM
How can i create UTF-8 user by using only ASCII character ?
07-13-2020 01:52 AM
Use only ASCII characters.
07-13-2020 02:33 AM
Thanks cobra. Let me go through once.
07-13-2020 02:45 AM
One last question ..what if customer is Japanese then how they create the users in Neo4j with Japanese language ?
07-13-2020 10:11 AM
You will have to translate them into ASCII characters
All the sessions of the conference are now available online