Access nocodb from another computer [Mar 20]

:raising_hand_man: moosec replied

looks like it failed to setup the database

:raising_hand_man: moosec replied

OK I removed everythig and started over. This time I installed mysql and then added the info. I got a new error.

:raising_hand_man: moosec replied

:raising_hand_man: wkw replied

u dont need to run npm install mysql --save, it s irrelevant

:raising_hand_man: wkw replied

your NC_DB s incorrect. u should use mysql2 instead of mysql

:raising_hand_man: wkw replied

check out the example here

:raising_hand_man: wkw replied

https://github.com/nocodb/nocodb/blob/master/README.md#example-mysql

:raising_hand_man: wkw replied

just a quick test.

:raising_hand_man: moosec replied

If I do not pull miriadb it does not install…am I missing something

:raising_hand_man: moosec replied

Ok same error…

:raising_hand_man: moosec replied

:raising_hand_man: moosec replied

only thing I changed was the password for the db to match what i sat mariadb

:raising_hand_man: moosec replied

i was able to connect when I changed:

:raising_hand_man: moosec replied

-e NC_DB=“mysql2://host.docker.internal:3306?u=root&p=7plus7&d=d1” \

:raising_hand_man: moosec replied

to

:raising_hand_man: moosec replied

-e NC_DB=“mysql2://172.17.0.3:3306?u=root&p=7plus7&d=d1” \

:raising_hand_man: moosec replied

for some reason it is not resolving the hostname

Autogenerated from discord


Join NocoDB’s community

DiscordTwitterRedditDocs