Error "no database selected" when importing  tables from MySQL

I'm trying to import tables from MySQL to OBI repository. However, after selecting the MySQL ODBC and prompting user name and password there's an error:
[nQSError: 16001] ODBC error state: HY000 code: 1046 message: [MySQL][ODBC 5.1 Driver][mysqld-5.0.56sp1-enterprise-glp-nt]No database selected.
Seems like the database is somehow not selected althought I defined it (sakila sample database) in the ODBC connection properties and the ODBC test is successful. Anybody has experiences with MySQL + OBI?
Thanks

the issue was solved by using MySQL odbc 3.51... with that there're no problems whatsoever

Similar Messages

  • Error while importing the tables from MySQL using the data source connection

    Hi,
    I am trying to import tables from MySQL into Powerpivot using the data source connection, if use the import using the Query option its working fine but not with the select list of table option.
    when i click on the select list of tables option, i get the below error after selecting all the tables to be imported:
    OLE DB or ODBC error.
    An error occurred while processing table 'XXXXXXXXXX'.
    The current operation was cancelled because another operation in the transaction failed.

    Hi Bharat17an,
    Please provide the detail information when create the MySQL connection in your PowerPivot model. Here is a good article regarding "how to Use MySQL and Microsoft PowerPivot Together" for your reference, please see:
    http://www.datamensional.com/2011/09/how-to-use-mysql-and-microsoft-powerpivot-together-2/
    If this issue still persists, please help to collection windows event log information. It maybe helpful for us to troubleshoot this issue.
    Regards,
    Elvis Long
    TechNet Community Support

  • Error while importing tables from oracle database

    Hi
    I am getting the following error when i am trying to import table from oracle database.
    my operating system is windows and my database is oracle.
    [nQSError: 16001]ODBC error state: IM004 code:0 message:
    [Microsoft][ODBC Driver Manager] Driver`s SQLAllocHandle on SQL_HANDLE_ENV failed.
    please help me in resolving this issue.
    Thanks and Regards,
    Raj

    Hi Madan,
    I have done migration Discoverer Admin EUL Layer into OBIEE repository using below methodology.
    Navigate to the <installdrive>\OracleBI\server\Bin directory. There are two important files in this directory: the migration assistant executable file named MigrateEUL.exe and a properties configuration file named MigrationConfig.properties.
    Could you please help me how to migrate discoverer plus workbooks and worksheets into OBIEE Answers?
    go through below link, It will show navigation steps for migrating of EUL from Discoverer to OBIEE.But i need migration of workbooks and worksheets from Discoverer into OBIEE Answers.
    http://www.oracle.com/technology/obe/obe_bi/discoverer/discoverer_1012/discomigration/migrate_disco_biee.htm
    This is very great full help to me …
    Advance thanks for your suggestions.
    Regards
    Duraga Prasad.

  • OBIEE Error while importing table from database

    Hi
    I am getting the following error when i am trying to import table from database.
    [nQSError: 16001]ODBC error state: IM004 code:0 message:
    [Microsoft][ODBC Driver Manager] Driver`s SQLAllocHandle on SQL_HANDLE_ENV failed.
    Any idea y such error.
    Thanks and Regards,
    Andy

    Looks like an error in the ODBC driver, not OBIEE as such.
    Have you tried googling it?
    Can you post details about your OS and DB.

  • [nQSError: 46115] - Admin Tools: can't import table from database .

    hi all,
    Need your help, i am using Bi Administration Tool, and i try to import tables from database,but encounter issue:
    (1)."File->import->from database...",select connection type as OCI 10g/11g, type TNS Name,User Name and Password,then click "OK".
    (2).select table "BI_DATA",and then click button "import",it show prompt:"Failed to perform requested action".
    (3).i try to click the symbol "+" on the left of table "BI_DATA", it show below prompt:
    [nQSError: 46115] No Unicode translation is available for some of the input characters for MultiByteWideChar().
    is there anyone can help me? thanks.
    the BI version is:
    Build: 10.1.3.4.1.090414.1900
    Release Version: Oracle Business Intelligence 10.1.3.4.1
    Package: 090414.1900

    I meet the problem, too! I can't solve it. Is anyone who can help me.
    My email is [email protected]
    thanks in avdvanced!

  • Error: Encountered a SELECT WHEN EXPECTING the following ( + - all mod num

    I have a conditional INSERT statement where I update the record if todays date is found in the table or i will INSERT a new record if that date is not found..
    Insert statement that comes after ELSE works fine but IF part fails with the error
    encountered a select when expecting the following
    *( - + all case mod new null.. and lot more*
    IF EXISTS
    (SELECT (TO_CHAR(UpdateDate, 'MM/DD/YYYY')) FROM EmployeeUpdateEmails
         WHERE UpdateDate = select (TO_CHAR(sysdate, 'MM/DD/YYYY')) from dual)
         UPDATE EMPLOYEEUPDATEEMAILS
    SET EMP_MGR_TOTAL_CHANGES = total
         WHERE UpdateDate = select (TO_CHAR(sysdate, 'MM/DD/YYYY')) from dual
    ELSE
    This is how EmployeeUpdateEmails table is created
    CREATE TABLE EmployeeUpdateEmails
    UpdateNum SMALLINT          PRIMARY KEY,
    UpdateDate               DATE,
    Emp_Mgr_Total_Changes SMALLINT,
    Emp_Term_Total_Chnages SMALLINT
    Please Help

    IF EXISTS is not aproppriate syntax:
    SQL> declare
      2  begin
      3   if exists (select count(*) from dual)
      4   then
      5     dbms_output.put_line('it exists');
      6   else
      7     dbms_output.put_line('it doesn''t exist');
      8   end if;
      9  end;
    10  /
    if exists (select count(*) from dual)
    ERROR at line 3:
    ORA-06550: line 3, column 5:
    PLS-00204: function or pseudo-column 'EXISTS' may be used inside a SQL statement only
    ORA-06550: line 3, column 2:
    PL/SQL: Statement ignored
    SQL> declare
      2   my_var number; 
      3  begin
      4  
      5   select count(*) into my_var
      6   from   dual;
      7  
      8   if my_var >= 1
      9   then
    10     dbms_output.put_line('it exists');
    11   else
    12     dbms_output.put_line('it doesn''t exist');
    13   end if;
    14  end;
    15  /
    it exists
    PL/SQL procedure successfully completed.If you're using SQL then
    1) post the complete statement
    2) mention your database version ( the result of: select * from v$version; )
    3) consider using CASE:
    SQL> select case
      2           when (select count(*) from dual) >= 1
      3           then 'it exists'
      4           else 'it doesn''t exist'
      5         end
      6  from   dual;
    CASEWHEN(SELECTC
    it exists
    1 row selected.

  • CAN'T I IMPORT TABLES FROM 8.1.5 TO 8.1.6 ?

    posted March 01, 2001 07:09 PM
    WHEN I TRY TO IMPORT 8.1.5 (NT) DATABASE TABLE TO 8.1.6 ( AIX) DATABASE, IT GIVES THE FOLLOWING ERROR,
    IMP-00002: failed to open transformer.dmp for read
    CAN'T I IMPORT TABLES FROM 8.1.5 TO 8.1.6 ?

    Check the case of the file. imp usually wants the .dmp in lower case on unix and NT tends to have it in upper.

  • Big tables from MySql to MSSql error Connection timeout

    HI,
    I have a big database around 46GB in Mysql format and I managed to convert all the database to MSsql except two tables, the biggest ones. When I try to migrate those 2 tables, one by one , after a while I get the error message "Connection timeout and
    was disabled"
    I encreased the timeout from SSMA option from 15 to 1440 and decreased the basc from 1000 to 500 and same thing, The tables have 52 mil rows and 110 milion rows with 1,5 GB and 6.5 GB.
    What can I do to migrate them
    Thank You

    Hi,
    According to your description, we need to verify that if you have installed the latest version of
    MySQL ODBC driver. If you have installed it, in order to make a shorter duration transaction and avoid the timeout, you can try to reduce the batch size to lower value such as 200 or 100 in
    SSMA option. Also, as Raju’s post, you can try to use incremental data migration in SSMA to migrate lager tables, then check if it is successful.
    In addition, you can use other methods to migrate big tables from MySQL to SQL Server. For example, you can copy the data directly from SQL Server using OpenQuery, and you could include WHERE clause to limit the rows. For more details, please review this
    blog :Migrate MySQL to Microsoft SQL Server. Or you can write queries for MySQL to export your data as csv, and then use the
    BULK INSERT features of SQL Server to import the csv data.
    Thanks
    Lydia Zhang

  • How can i import tables from a different schema into the existing relational model... to add these tables in the existing model? plss help

    how can i import tables from a different schema into the existing relational model... to add these tables in the existing relational/logical model? plss help
    note; I already have the relational/logical model ready from one schema... and I need to add few more tables to this relational/logical model
    can I import the same way as I did previously??
    but even if I do the same how can I add it in the model?? as the logical model has already been engineered..
    please help ...
    thanks

    Hi,
    Before you start, you should probably take a backup copy of your design (the .dmd file and associated folder), in case the update does not work out as you had hoped.
    You need to use Import > Data Dictionary again, to start the Data Dictionary Import Wizard.
    In step 1 use a suitable database connection that can access the relevant table definitions.
    In step 2 select the schema (or schemas) to import.  The "Import to" field in the lower left part of the main panel allows you to select which existing Relational Model to import into (or to specify that a new Relational Model is to be created).
    In step 3 select the tables to import.  (Note that if there are an Foreign Key constraints between the new tables and any tables you had previously imported, you should also include the previous tables, otherwise the Foreign Key constraints will not be imported.)
    After the import itself has completed, the "Compare Models" dialog is displayed.  This shows the differences between the model being imported and the previous state of the model, and allows you to select which changes are to be applied.
    Just selecting the Merge button should apply all the additions and changes in the new import.
    Having updated your Relational Model, you can then update your Logical Model.  To do this you repeat the "Engineer to Logical Model".  This displays the "Engineer to Logical Model" dialog, which shows the changes which will be applied to the Logical Model, and allows you to select which changes are to be applied.
    Just selecting the Engineer button should apply all the additions and changes.
    I hope this helps you achieve what you want.
    David

  • When importing photos from my iPhone black boxes appear in place of random photos in the library and in Photostream.

    When importing photos from my iPhone black boxes appear in place of random photos in the iPhoto library and in Photostream. It has no apparent pattern, the photos are just blank. It's not just icons, when I go to edit the photos externally in Photoshop it opens an image filled with nothing but black.
    This is more than annoying. It's effectively deleting photos I'm taking on vacation and so forth.
    Anyone?

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    Regards
    TD 

  • Getting error Uni code check when modifying Ztable from work area?

    Hi all,
    Getting error Uni code check when modifying Ztable from work area?
    and how to increment counter when data modified?
    FM 'popup_to_confirm'.
    IMPORTING
           answer                      = RES.
    CHECK
          RES = '1'.
            WRITE :/ 'UPDATE'.
          MODIFY ZPPT_PPDPLAN FROM GWA_FIN_PROD.
    thanks in advance..

    what error you are getting. make sure source and Target are of similar sturcture.

  • ITunes freezes when importing music from CD and also when playing,

    Just recently iTunes has started to freeze when importing music from a CD - it just stops and the progress bar remains as it it. The whole mac then freezes and I get the spinning beachball. I can't use any other application. The same thing is happening when I play music - it's ok for a song or two and then freeze and the beachball appears. I've downloaded iTunes again and reinstalled and it's just the same. Using Safari and Mail etc is no problem at the moment.
    I also have a problem getting the iMac to recognise external hard drives - it won't show them on either firewire 400 or 800. I can see my 1TB drive using usb ( it shows up on the desktop, whereas on firewire it doesn't do this) but if I try to open it and see the contents in finder, it opens, but doesn't dispaly the contents of the drive. I can see the disk size but just get a grey spinning wheel in the bottom right hand of the finder window. Timemachine does not work.

    I have had the same problem & itunes crashes when i try to import a file. Now i can't even start itune. I've reinstalled itunes so many times, without a fix, I've lost count.
    I did post and had no reply. I'll watch this post with interest.

  • When importing tracks from a CD to iTunes, only 10 of the 13 songs are imported or shown on the list. How can I import the missing three?

    When importing tracks from a CD to ITunes, only 10 of the 13 songs are imported. How can I display and import the missing three? Thanks.

    It depends on eaxactly what is wrong with the old laptop. If you're lucky the drive can be extracted and connected to a new computer to extract the data. Otherwise see Recover your iTunes library from your iPod or iOS device.
    tt2

  • I am creating a catalog and need a way to mass import tables from excel into indesign.  Any ideas?

    I am creating a catalog and need a way to mass import tables from excel into indesign.  Any ideas?

    Third-party plugins for InDesign can automate the process. Here's a thread from InDesignSecrets.com forums:
    http://indesignsecrets.com/topic/plugins-for-automating-catalog-production

  • When importing photos from iphoto to Aperture....

    When importing photos from iphoto to Aperture 3 it shows two versions of each image. One is original and one is iphoto edited.  It shows this for every picture even if it was never edited in iphoto.  Has anyone ever experienced this?  Is so, what image should I use to edit in iphoto?

    This is asked and covered a lot here, a search of the list will bring up numerous other threads covering this. Also the More Like This box on the right side of the page will show you other posts on this topic.
    This post, Duplicates when importing from iPhoto is the most recent example.
    Briefly iPhoto took even the most trivial change to an image as an edit and created a new image. The most common reason for this is rotated images.
    As for which image of the two you want to keep, that's entirely up to you. If there is really no difference between the two then you can keep either it makes no difference.
    The thread I linked to above will explain how to use Aperture's filters to gather up all of one or the other.
    regards

Maybe you are looking for