Access database in ERP Next

How to get connect with ERP Database.

I want to check what are all the tables created.

Hi,
Steps:-

  1. Go to Terminal
  2. Enter project folder path
  3. Enter command (enter your username and database name) .Both are same.
    mysql -u (username) -p (db_name)
    4)Press “Enter” button
  4. Enter your db_password
    After this , you can access your database

OR
when you create any new ‘doc type’ then table also get created with same name.

Shraddha Ranjane
New Indictrans Technology PVT LTD.

3 Likes

Frankly I think it’d be better for you to stay away from the database if you’ve no idea how to connect to it in the first place. A simple drop used wrongly could cause a lot of anguish

2 Likes

You can bench frappe --mysql but it’s recommended that you avoid accessing it directly.