Unable to connect with MYSQL database.


Unknown character set index for field '255' received from server. (or)
Unknown initial character set index '255' received from server.

  1. This is not specific to any build of Zoho Analytics Onpremise.
  2. This fix is for MYSQL version 8 and below.

The customer's MySQL version to be higher than the version which is in our product.

  1. Stop the Zoho Analytics Server service.
  2. Move the <Zoho Home>/Analytics/lib/mysql_connector.jar to <Zoho Home>/Analytics/Backup/
  3. Download the latest MySQL jar from this link.
  4. Extract it and rename mysql-connector-java-8.0.17.jar to mysql_connector.jar.
  5. Move the renamed jar file to  <Zoho Home>/Analytics/lib/ folder.
  6. Start the service.
If the above still does not fix the issue and throws below error, check the log for the mentioned trace.

Log traces:

  1. [14:00:11:936]|[11-26-2019]|[SYSERR]|[INFO]|[91]: 
  2. ERROROCCURED,'3470D4D513AC92FAA6AC922C4BAD16E8',54,'TESTANDFETCHTABLES',500,1574730011000,-1,'COMMON_INTERNAL_SERVER_ERROR',108,'','','','An unexpected error occurred while performing this operation.','https://l-adrien:8443/','-','','','-Not Provided-',' at URLClassLoader.findClass(LN:381) at ClassLoader.loadClass(LN:424) at ClassLoader.loadClass(LN:357) at Class.forName0(LN:-2) at Class.forName(LN:264) at DirectDBConnection.getDBConnection(LN:34) at DirectDBConnection.<init>(LN:30) at ZRCloudDBAPI.getDBConnection(LN:3007) at ZRCloudDBAPI.getConnection(LN:1313) at ZRCloudDBAPI.getConnection(LN:1254) at ZRCloudDBAPI.getCloudDBTableNamesAsList(LN:1742) at ZRCloudDBAction.getTablesFromCloudDB(LN:291) at ZRCloudDBAction.execute(LN:89)','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36'
The classpath used is not present in the latest mysql_connector.jar. 

  1. Stop the Zoho Analytics Onpremise service.
  2. Replace this file (dbtypes.json) under <Zoho Home>/Analytics/conf/ZohoDB/ 
  3. Start the service.
  1. This fix can be used for Zoho Analytics Onpremise version 4300 and below.

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now

            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION

                                You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.

                                    Manage your brands on social media

                                      Zoho Desk Resources

                                      • Desk Community Learning Series

                                      • Digest

                                      • Functions

                                      • Meetups

                                      • Kbase

                                      • Resources

                                      • Glossary

                                      • Desk Marketplace

                                      • MVP Corner

                                      • Word of the Day

                                        Zoho Marketing Automation

                                          Zoho Sheet Resources


                                              Zoho Forms Resources

                                                Secure your business
                                                communication with Zoho Mail

                                                Mail on the move with
                                                Zoho Mail mobile application

                                                  Stay on top of your schedule
                                                  at all times

                                                  Carry your calendar with you
                                                  Anytime, anywhere

                                                        Zoho Sign Resources

                                                          Sign, Paperless!

                                                          Sign and send business documents on the go!

                                                          Get Started Now

                                                                  Zoho TeamInbox Resources

                                                                          Zoho DataPrep Resources

                                                                            Zoho DataPrep Demo

                                                                            Get a personalized demo or POC

                                                                            REGISTER NOW

                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now

                                                                                            You are currently viewing the help articles of Sprints 1.0. If you are a user of 2.0, please refer here.

                                                                                            You are currently viewing the help articles of Sprints 2.0. If you are a user of 1.0, please refer here.

                                                                                                  • Related Articles

                                                                                                  • Unable to Connect to the Postgres SQL Database from Command Prompt

                                                                                                    Issue : Unable to Connect to the Postgres SQL Database from Command Prompt Error : Analysis : IPv6 local connections are commented in <AnalyticsPlus home>\pgsql\data\pg_hba.conf file Solution : Open the file using notepad or wordpad as administrator ...
                                                                                                  • How to connect to Zoho Analytics database

                                                                                                    This article will help you with the steps to connect to Analytics Plus database(Postgres) Note: Analytics Plus is bundled with Postgres and it cannot be changed to any other database due to reliability and chart rendering. Steps for Windows: 1. Open ...
                                                                                                  • Unable to see Create Database Icons

                                                                                                    Issue: When Analytics Plus Professional edition is rebranded, the Create Database Icons on the home page disappears. Build: 2905 or less Solution: Though the identified issue is resolved in the latest builds 2906 or above, we need to perform a minor ...
                                                                                                  • Prerequisites to ensure database connectivity

                                                                                                    In order to connect to a database, there are some prerequisites that must be met. Common prerequisites The following prerequisites are applicable to all databases. Provide database read permissions to the Zoho Analytics server. Ensure you have the ...
                                                                                                  • Import data from Rackspace Cloud MySQL

                                                                                                    If you have your data stored in Rackspace Cloud MySQL cloud database, you can easily import the data into Zoho Analytics or connect live with the Rackspace Cloud MySQL server for advanced reporting and analysis.  Data Import: Data from your cloud ...
                                                                                                    Wherever you are is as good as
                                                                                                    your workplace



                                                                                                      Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.


                                                                                                      Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.


                                                                                                      Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.

                                                                                                      CRM Tips

                                                                                                      Make the most of Zoho CRM with these useful tips.

                                                                                                        Zoho Show Resources