Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error - Unable to connect to database

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error - Unable to connect to database

    Support,

    I am using latest Ninja 6.5 on Vista 32 bit. I am getting below error on starting Ninja. Please see attached files:

    Is there anyway to solve this error. I searched on similar threads and saw one suggested option was to rename the .mdb file.

    When one renames the .mdb file,will one loose all workpaces and templates as well ?

    Thanks
    mmtrader
    Attached Files

    #2
    Hello mmtrader,

    Thank you for your post.

    I would also recommend renaming the NinjaTrader database.


    Please rename your database using the steps listed below. This will cause NinjaTrader to create a new database. Because of this, historical chart data will need to be reloaded. Likewise, ATM strategies, custom instruments and instrument lists will need to be recreated.


    Your chart templates and workspaces will remain intact as they are stored elsewhere.



    To rename the DB:
    • Shutdown NinjaTrader and Go to the Start Menu
    • Select My Documents--> NinjaTrader 6.5--> DB--> NinjaTrader.MDB.
    • Right click on NinjaTrader.MDB and select "Rename."
    • Name it "NewNinjaTrader.MDB."
    • Then restart the software.
    KyleNinjaTrader Customer Service

    Comment


      #3
      Thanks Kyle. Anyway to save the instruments data from Instrument manager ,..to save any custom instruments?

      mmtrader

      Comment


        #4
        Hello mmtrader,

        Thank you for your reply.

        Unfortunately, no automated method exists. You would need to record the settings and recreate the instruments within the new database manually.
        KyleNinjaTrader Customer Service

        Comment


          #5
          Support/Kyle

          I renamed the db file and ninja started fine. Thank you.


          mmtrader

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          77 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          45 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          27 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          32 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          63 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X