[SOLVED] MySQL Server issues

I just installed a fresh ArchLinux, restored a backup from an Ubuntu natty, everything works except my MySQL server connections.
I cannot connect with odbc or jdbc, I'm using the latest versions available:
$ pacman -Q mysql unixodbc myodbc jre
mysql 5.5.12-1
unixodbc 2.3.0-1
myodbc 5.1.8-1
jre 6u25-1
$ mysql -u mencargo -p
Server version: 5.5.12 Source distribution
mysql> use etlcontroltf;
Database changed
mysql>
$ cat /etc/odbcinst.ini
[MySQL]
Description = ODBC Driver for MySQL
Driver = /usr/lib/libmyodbc5.so
$ cat .odbc.ini
[MySQL]
Description = MySQL ODBC
Driver = MySQL
Server = localhost
Database = etlcontroltf
Port = 3306
Socket = /var/run/mysqld/mysqld.sock
$ isql MySQL -v
[01000][unixODBC][Driver Manager]Can't open lib '/usr/lib/libmyodbc5.so' : file not found
[ISQL]ERROR: Could not SQLConnect
$ lsd /usr/lib/libmyodbc5.so
lrwxrwxrwx 1 root 19 Mar 17 09:05 /usr/lib/libmyodbc5.so -> libmyodbc5-5.1.8.so
For JDBC I'm trying to use mysql-connector-java-5.1.16-bin.jar with DBvisualizer, getting:
Product:  DbVisualizer Free 7.1.5
Build:  #1590 (2011/02/24 17:23)
Java VM:  Java HotSpot(TM) 64-Bit Server VM
Java Version:  1.6.0_25
Java Vendor:  Sun Microsystems Inc.
OS Name:  Linux
OS Arch:  amd64
OS Version:  2.6.38-ARCH
An error occurred while establishing the connection:
Long Message:
Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Details:
   Type: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
   Error Code: 0
   SQL State: 08S01
A curious thing about the odbc is that the Arch guide suggests a /usr/lib/libodbcmyS.so file that is not present in my system, or any libodbcmySX.so nor libmyodbcSX.so.
Anyway, jdbc doesn't have anything to do with odbc, and it's also not working, so maybe it's my server config?
$ cat /etc/mysql/my.cnf
[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock
[mysqld]
port = 3306
socket = /var/run/mysqld/mysqld.sock
datadir = /var/lib/mysql
skip-external-locking
key_buffer_size = 64M
max_allowed_packet = 2M
table_open_cache = 64
sort_buffer_size = 1M
net_buffer_length = 512K
read_buffer_size = 2M
read_rnd_buffer_size = 1M
myisam_sort_buffer_size = 16M
bind-address = 127.0.0.1
server-id = 1
[mysqldump]
quick
max_allowed_packet = 64M
[mysql]
no-auto-rehash
[myisamchk]
key_buffer_size = 32M
sort_buffer_size = 32M
read_buffer = 16M
write_buffer = 16M
Or is this version of the server broken?
Last edited by mencargo (2011-06-03 05:49:11)

The my.cnf code posted is the whole config, I don't have skip-networking.
$ telnet localhost 3306
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
$ netop
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1483/mysqld
tcp 0 0 127.0.0.1:3306 127.0.0.1:43098 TIME_WAIT -
The port seems open but I'm getting disconnected immediately.
Any thoughts?
Last edited by mencargo (2011-05-09 02:04:58)

Similar Messages

  • Crystal Reports Server 2008 (Linux) - Crystal Reports/MySQL/ODBC Issue

    Hello,
    I have successfully installed CRS '08 on a Red Hat Enterprise Linux 4 server.  All services run fine.
    In the CMC, I have uploaded a Crystal Report that connect to a remote MySQL server. 
    I have installed the My SQL ODBC 3.51.11 and .12 Drivers as a System DSN.
    I have proven that the reports run fine in Crystal Reports 2008 directly against the remote MySQL DB server.
    (in Windows but with the same 3.51 ODBC Drivers)
    I have also proven that the database connection works okay from the CRS '08 Red Hat server to the remote MySQL DB server, when also creating a system DSN (using bash ./ODBCConfig)
    The problem is that when I log into the CMC or InfoView, and when I run the Crystal Reports from there, I get an error message:
    "Error in File <MyCrystalReport>: Failed to load database information"
    Is there something wrong with my specific Crystal Reports' Database Configuration? (Right click- Database Configuration)
    I see the driver was registered correctly in the /etc/odbc.ini file
    Am I supposed to set any other ODBC environment variables?
    Is there are firewall issue (port 3306 is already open)?
    In summary, the install was successful, and Crystal Reports can be uploaded and viewed via CMC or InfoView, but I cannot run the Crystal Reports against the database.
    Please advise, Thanks!

    Hi, I'm facing a similar problem. My ODBC DSN never works with CRS. Here are the details:<br><br>
    (1) I  installed the CRS 2008 in /opt/crystalreportsserver_2008_v1/ on a Linux platform. The CRS works well. I created a report with Crystal Reports 2008. This report directly connects to a MySQL server. After I published the report and manually modify its database configuration, I can browse it from InfoView. I'm sure that CRS, MySQL, and a report connecting to MySQL are all good.<br><br>
    (2) Then, I created an ODBC DSN on a Windows platform. This DSN connects to a MySQL server. I created another report with Crystal Reports using this DSN. The report can show the data within Crystal Reports.<br><br>
    (3) Then, I published the second report to CRS, but when I try to browse it, I always get such a message: Failed to open the connection.<br><br>
    I have configured the ODBC for CRS on the Linux server and I think the configuration is correct. This is how I do that: I edited the /opt/crystalreportsserver_2008_v1/bobje/odbc.ini file. In the file I added a data source called ods_telstar. Following is the content of the file:<br><br>
    [ODBC Data Sources]<br><
    CRSQLServerWP=DataDirect 5.3 SQLServer Wire Protocol Driver<br>
    CRSybaseWP=DataDirect 5.3 Sybase Wire Protocol Driver<br>
    CRText=DataDirect 5.3 Text Driver<br>
    %SYBASEDSN%=DataDirect 5.3 Sybase Wire Protocol Driver<br>
    ods_telstar = MySQL<br>
    <br>
    ... <br>
    <br>
    [ods_telstar]<br>
    Description     = ODS on telstar<br>
    Trace       = Off<br>
    TraceFile   = stderr<br>
    Driver      = /opt/crystalreportsserver_2008_v1/bobje/enterprise120/linux_x86/odbc/lib/libmyodbc5.so<br>
    SERVER      = xxx<br>
    USER        = xxx<br>
    PASSWORD    = xxx<br>
    PORT        = 3306<br>
    DATABASE    = ods<br>
    <br>
    In the middle I removed some data source definitions that are by default in the file. Note that I use "xxx" to replace the server name, user, and password. Such information is for internal use and I'm sure the original information is correct. The MySQL ODBC driver file has been put in the correct location. Correct access permissions has been assigned to the file.<br><br>
    I've tried to restart the CRS server, but still the report using ODBC DSN cannot be viewed.<br><br>
    The reason that we want to user ODBC DSN is that we may have many reports to publish. When we design the reports, we specify that they get data through an ODBC DSN such as ods_telstar. If we configure the same DSN on CRS, then we don't need manually modify each report's configuration after we publish them. If these reports are directly connecting to MySQL, then we have to manually modify each one's database configuration after we publish them.<br><br>
    I've no idea what's wrong with all the setup. Any suggestions and comments are appreciated!<br>

  • Are there potential security issues if I run MySql Server?

    I am learning MySQL and PHP, and have followed the instructions to download and install MySQL server on OS X Lion.
    As I am beginner I am not sure if by enabling this I am leaving my system somehow more exposed to potential attack (I have selected the option "Automatically start MySQL server on startup").
    So my question is: am I putting my system at considerable more risk by having this service turned on? Should I disable it when I am not learning how to script PHP?
    If so, are there any simple instructions for making my system more secure while MySQL server is running?
    I use the built in OSX firewall and Little Snitch.

    Any time you run server software you are putting your systems at a higher risk. MySQL is known to be very secure. Still, there are ways to improve the security. You can restrict connections so that only localhost can connect to your server. Make sure you don't have default accounts/passwords or the root account enabled. Make sure to follow the initial securing procedures.
    In general, MySQL is very safe. There isn't anything to worry about.

  • "Can't connect to local MySQL server through socket '/tmp/mysql.sock'"

    Data Services=3.1
    Repository=12.2.2.0000
    Red Hat Enterprise 5
    Designer,Job Server,Job Engine=12.2.2.3
    After an unscheduled server reboot with DS up and running when trying to start a job in either Data Services Management Console or DS Designer getting the following:
    "Can't connect to local MySQL server through socket '/tmp/mysql.sock'"
    The mysql.sock have never been in /tmp and on the production server it does not exist there and the production server is up and running correctly. If a link is created to mysql.sock(/home/user/boedge31/bobje/mysql) the job will start but return this message: 
    "Cannot retrieve <Version> from the repository. Additional database information: <SQL submitted to ODBC data source <localrepo> resulted in error <MySQL ODBC 3.51 Driver mysqld-5.0.46-enterprise No database selected>. The SQL submitted is <select VERSION, SECURITYKEY, GUID from AL_VERSION where NAME = 'Repository Version'"
    I checked and AL_VERSION and the Version field exist. 
    Before the shut down DS was working correctly and had no issues.  My best guess is a part of the repository was corrupted during the unscheduled shut down.  It seems like DS has "forgotten" some of the settings.  
    Any suggestions on a possible solution?

    The issue has been solved. 
    There was a bad path in $LD_LIBRARY_PATH.
    Removed the path and DS started working again.

  • MySQL SERVER NOT FOUND ERROR 404

    Having talked to as many people as should know, NOBODY seems
    to have a clear answer to the fact that from Dreamweaver 8 there is
    a serious connectivity issue to MySQL databases in PHP server. I'm
    using Easy PHP.
    I begin to wonder if the makers of Dreamweaver8 intended to
    give us all a Jigsaw puzzle. This Problem Error 404 not being able
    to find the PHP@MySQL server/database is getting increasingly
    ridiculous that I might begin to suggest that people never buy
    Dreamweaver8 as it is more trouble than any good. How can Adobe sit
    bag and let us keep going through this stress?
    How does one determine a more uptodate library when you have
    just installed the latest version of Dreamweaver 8 and
    EasyPHPserver? You still keep getting the error message that it
    cannot find MMHTTPDB which is sitting clearly in the appropriate
    folders!!
    In the previous versions, it was straight forward on IIS to
    set up a DSN and just connect to the Database. Why has it become
    impossible to connect to a straightforward and existent database?
    I am disappointed with Adobe amd Dreamweaver makers! I've
    over stressed myself trying to get this problem solved.
    Help Pleeeease!!!

    IfyO wrote:
    > Having talked to as many people as should know, NOBODY
    seems to have a clear
    > answer to the fact that from Dreamweaver 8 there is a
    serious connectivity
    > issue to MySQL databases in PHP server.
    There is not a serious connectivity issue. It works perfectly
    on
    correctly configured system. I have given you a full response
    in your
    duplicate post in the "Can't connect to MySQL" thread.
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • HP Connected server issues

    My printer has been working well *. since I purchased it earlier this year. until about a week ago when I upgraded to the next level Instant Ink plan. Since then when I try to print the display on the printer shows a rotating circle with the word Printing. This remains for around 2 minutes, without printing anything, and then I get a message on the display that tells me that "The printer cannot connect to HP Connected". At the same time I get a pop up on my PC that "warns me" that the printer cannot connect to HP Connected and that this may cause my printer to stop printing. The terrible message concludes with the meaningless "OK" statement, having urged me to follow the printer's on screen display to make the connection.  When I try to follow the instructions on the printer it merely confirms that the printer is connected. I usually cancel out of the setup and then, as if by magic, whatever I tried to print suddenly starts printing.  So, my questions are?
    1) Is this a common or at least know problem?
    2) Is it caused by my having changed Instant Ink plans and if so what has HP done to cause this?
    3) I have not knowingly changed anything on my system other than the HP Instank Ink plan so why does the printer no longer connect to the HP Connected server to update that system with details of my print usage?
    4) Is there a fix/workaround that will prevent me from having to manually coax my printer to work again?
    I have already used the HP Updates function and have reset/restarted both the wireless router and my PC.
    * I do occasionally get messages saying that the scan function isn't available because it's lost connectivity but this seems to rectify itself without having to do anything else.

    Hello GaryG888,
    Welcome to the HP Support Forums!
    Thank you for the very informative post. With that great info I think I know what has happened. Over the weekend (24th, 25th & 26th) there had been Web Service server issues. As of right now, here is the fix and or workaround: Re: How do I correct the date on my HP Envy 4500?
    Please follow up and let me know if this helps you.
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'

    I'm using the pre-installed versions of php and mysql under Mac OS X Server 10.4.4 running on a G4 and am unable to get anything involving mysql to work.
    I ssh to the server and enter various commands in Terminal:
    on typing "mysql" I get
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
    and on typing "mysqladmin version" I get
    mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)'
    Check that mysqld is running and that the socket: '/var/mysql/mysql.sock' exists!
    On typing "sudo mysqld_safe" I get
    Starting mysqld daemon with databases from /var/mysql
    STOPPING server from pid file /var/mysql/MyServer.local.pid
    070722 16:06:05 mysqld ended
    /var/mysql/MyServer.local.err contains
    070722 16:06:04 mysqld started
    070722 16:06:04 [Warning] Setting lowercase_tablenames=2 because file system for /var/mysql/ is case insensitive
    070722 16:06:04 InnoDB: Database was not shut down normally!
    InnoDB: Starting crash recovery.
    InnoDB: Reading tablespace information from the .ibd files...
    InnoDB: Restoring possible half-written data pages from the doublewrite
    InnoDB: buffer...
    070722 16:06:05 InnoDB: Starting log scan based on checkpoint at
    InnoDB: log sequence number 0 43634.
    /var/mysql has permissions 775.
    The line
    mysql.default_socket = /var/mysql/mysql.sock
    is in /etc/php.ini
    whereis mysqladmin ->
    /usr/bin/mysqladmin
    whereis mysql ->
    /usr/bin/mysql
    ls /var/mysql ->
    MyServer.local.err
    ib_logfile1
    mysql
    ib_logfile0
    ibdata1
    test
    Can't find my.cnf or my.ini anywhere
    Can't find mysql.sock anywhere
    I'm trying to get a bug database running (mantis) under Mac OS X Server 10.4.4 that I can access from local clients.
    I'm trying to follow directions at http://www.mantisbugtracker.com/manual/manual.installation.php
    without knowing anything about mysql or php and I'm stuck on step 3:
    "Next we will create the necessary database tables and a basic configuration
    file."
    I get a message saying
    "Does administrative user have access to the database? ( Lost connection to MySQL server during query )"
    I don't even know if following the mantis directions has resulted in the creation of a database or not. Where would it be?
    Thanks for any help.
    Intel iMac   Mac OS X (10.4.10)  

    I've just done a clean install of OSX Server and added the latest MYSQL packaged installer. Afterwards I found the lock file in /private/tmp/mysql.lock
    The easiest way to solve this problem is to create a symbolic link so that the lock file appears to be in right place.
    e.g.
    cd /var
    sudo mkdir mysql <== this assumes the directory is missing
    cd mysql
    sudo ln -s /private/tmp/mysql.sock mysql.sock
    After this msql commands should work fine, and you've not fiddled with the security settings on users/groups.
    HTH
    Christian

  • SAPextractor error using MySQL Server database in OrgChart

    Hi Experts:
    We are now using MySQL Server database for Nakisa OrgChart 2.0. Source-SAP details were specified and test connection to database is successful.  We encountered the following errors when we performed the extraction.
    Processing Function Read Table Function/BAPI Downloading Tables Organizational Assignment
    No Tables were downloaded for Read Table Function/BAPI . Function is flagged as critical.Terminating Extraction.
    Processing Stopped ! ! !
    Downloading from SAP completed.
    Processing Completed.
    From CDS.log, we got the error message below:
    ERROR: Schema : tableName = OrgUnitHierarchy; : Source {.Net SqlClient Data Provider}: Message {Invalid object name 'OrgUnitHierarchy'.}
    ERROR: Schema : tableName = OrgUnitHierarchy; : Source {.Net SqlClient Data Provider}: Message {Invalid object name 'OrgUnitHierarchy'.}
    ERROR: Schema : tableName = OrgUnitHierarchy; : Source {.Net SqlClient Data Provider}: Message {Invalid object name 'OrgUnitHierarchy'.}
    ERROR: Sap Authentication : Source {SAP.Connector}: Message {An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)}
    Can you help us to check how to fix this error. In addition, we would also like to know how to configure XML files required for this installation.
    Thanks.
    Angelo
    Accenture
    SAP Basis

    Hi Angelo,
    Is this still an issue for you? If so can you let me know if you are using 32-bit or 64-bit server and what version you are using of TVN?
    All the best,
    Luke

  • MySQL-server-upgrade = PHAkt - evil trouble?

    Recently my
    webhotel was upgraded from MySQL version 4.0.24 to 4.1.11.
    When that happened
    ALL MY PHP-PAGES that are created with Dreamweaver (MX2004) +
    PHAkt (2.7.6) extension HAVE STOPPED WORKING. As if that was't
    bad enough I can't create new DW/PHAkt-pages.
    All I get is the below SQL-error printed in my browser
    window;
    You have an error in your SQL syntax; check the manual that
    corresponds to your MySQL server version for the right syntax to
    use near '-1' at line 1
    When I run the
    old DW MX (not 2004) without PHAkt I
    can make pages that work - but the php-server behaviors are
    too limited and I'd really like to get my original pages working
    again (obviousley) - I'm not getting any younger so recreating it
    all seems... you get the picture.
    My question then is in 2 parts:
    is there
    anyone who has seen anything like this? AND
    is there
    anyone who knows what to do? I've tried looking for updates
    to PHAkt but ADOBE has retired this former free product (reminds me
    of the almighty Tyrell corporation in Blade Runner, somehow)
    I have a post on PHAkt forum about the samme issue but the
    only one replying to it is myself
    PHAkt
    foum

    I agree with tomk that cronning updates is a bad idea. Pacman is a package manager, not a magical system manager with AI so you really need to pay attention to what it does, especially when it issues warnings.
    Most updates are completely smooth but you should try to follow the news page and the forum to stay on top of issues. I'd recommend delaying (major) updates for at least a few days for a critical system so you can see if others experience problems with them before you commit them. Generally though you should update regularly to keep up to date with security fixes and to ensure compatibility between packages.
    For what it's worth, I update my system daily and have so far not had any problems worth noting. The only time I hosed my system was the first time that I ran a full system upgrade after installing from the core iso. Being a linux noob + not paying attention = reinstallation.

  • MySQL Server 5.0

    Dear Room
    I'm configuring MySQL Server 5.0
    when I got to the last window and clicked on Execute, the
    three steps (Prepare configuration, Write configuration file,
    Restart service) got through. But the last step (Apply security
    settings) couldn't get throughand I got the message: Connection
    Error:
    The security settings could not be applied to the database
    because the connection has failed with the following error.
    Error Nr. 1045
    Access denied for user 'root'@'localhost' (using password:
    NO)
    If a personal firewall is running on your machine, please
    make sure you have opened the TCP port 3306 for connections.
    Otherwise no client application can connect to the server. After
    you have apened the port please press [Retry] to apply the security
    settings.
    If you are re-installing after you just uninstalled the MySQL
    server please note that the data directory was not removed
    automatically. Therefore the old password from your last
    installation is still needed to connect to the server. In this case
    please select skip now and re-run the Configuration Wizard from the
    start menu.
    I did open the TCP port 3306 for connections using the
    Windows Firewall, but I still receive the above message.
    Anybody has an idea, please help

    umeshS wrote:
    I have downloaded the MySQL server 5.0 when i install on my PC then there will be problem.
    i will install properly Apparently not.
    but after completion of the installation process at the time of configuration it will show the problem
    while modifying the security setting & creating the root account & setting root password while checking that check box & pressing the Next it will approaches to last stage
    while pressing the execute button it will not start the appropriate service what is that problem exhactly? i don't know exhactly what it shows also on command prompt when i go to home directory i got same problem is there any easier simple version so that problem can be solved.Can't tell, because you've posted such poor information.
    The installer works fine. You must not have done it correctly. Uninstall and try again.
    %

  • JDBC/MySQL syntax error on MySQL server login

    I am making a simple JSP page and I'm trying to test basic functionality/connectivity with a MySQL database. Included is my index.jsp code and the errors given by Tomcat. Any insights would be very helpful, thanks.
    org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 13 <%@ page import="java.sql.*"%> <% Connection con = null; Statement stmt = null; ResultSet rs = null; %> <html> <body> <% Class.forName("com.mysql.jdbc.Driver").newInstance(); con = DriverManager.getConnection("jdbc:mysql://localhost:3306/database", "correctUserName", "correctPassword");    //<-line 13 stmt = con.createStatement(); rs = stmt.executeQuery("SELECT * FROM table"); while(rs.next()){ out.println(rs.getString("name")+"<br>"); } rs.close(); %> </body </html> Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause javax.servlet.ServletException: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '????????????????' at line 1 org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791) org.apache.jsp.index_jsp._jspService(index_jsp.java:86) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    chrislard wrote:
    That is a good idea for actual implementation, but this is just a test. There isn't any reason that this should not work because it hasn't been broken up into multiple files etc.Evidence would indicate that it is not in fact working though. And the error indicates a syntax error. Because it is JSP there is no assured way to localize the problem, not to mention that since it is running is a container there is no assurance that the posted code is even what is running.
    My suggestion on the other hand completely eliminates all of those possibilities.
    But if it helps you the posted SQL does not have any syntax errors. So if you can solve the problem that you have knowing just that then go for it. Myself I would at least create a test jig.

  • OWB 11gr2 - MYSQL data issue

    Hi,
    We are using MYSQL 5.1.28 and OWB 11gr2.
    JDBC Driver - mysql-connector-java-5.1.12-bin.jar
    We created the platform and were able to successfully import all the objects. But when we try to view the data in owb ( right clicking on object and then selecting data) we get the following error -
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near "table_name") S' at line 1
    com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"disk_drive") S' at line 1
         at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
         at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:3277)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:3206)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232)
         at oracle.wh.ui.owbcommon.QueryResult.<init>(QueryResult.java:23)
         at oracle.wh.ui.owbcommon.dataviewer.relational.GenericQueryResult.<init>(GenericDVTableModel.java:44)
         at oracle.wh.ui.owbcommon.dataviewer.relational.GenericDVTableModel.doFetch(GenericDVTableModel.java:20)
         at oracle.wh.ui.owbcommon.dataviewer.RDVTableModel.fetch(RDVTableModel.java:53)
         at oracle.wh.ui.owbcommon.dataviewer.BaseDataViewerPanel$1.actionPerformed(BaseDataViewerPanel.java:221)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:282)
         at oracle.wh.ui.owbcommon.dataviewer.BaseDataViewerPanel.executeQuery(BaseDataViewerPanel.java:536)
         at oracle.wh.ui.owbcommon.dataviewer.BaseDataViewerEditor.init(BaseDataViewerEditor.java:113)
         at oracle.wh.ui.owbcommon.dataviewer.BaseDataViewerEditor.<init>(BaseDataViewerEditor.java:55)
         at oracle.wh.ui.owbcommon.dataviewer.relational.DataViewerEditor.<init>(DataViewerEditor.java:17)
         at oracle.owbimpl.console.dataviewer.DataViewerIdeEditor.openImpl(DataViewerIdeEditor.java:154)
         at oracle.owbimpl.ide.editor.BaseFCOEditor.openImpl(BaseFCOEditor.java:151)
         at oracle.owbimpl.ide.editor.BaseEditor.open(BaseEditor.java:39)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:276)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:181)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:94)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:375)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1400)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1334)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1260)
         at oracle.owbimpl.console.commands.DataViewerFCPCmd.performAction(DataViewerFCPCmd.java:61)
         at oracle.owbimpl.ide.menu.TreeMenuHandlerAdapter.handleEvent(TreeMenuHandlerAdapter.java:46)
         at oracle.owbimpl.ide.menu.OWBEditorActionController.handleEvent(OWBEditorActionController.java:214)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5501)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Even tried running a CT's with MYSQL objects. CT throws invalid identifier on column name.
    How can i find what syntax owb is generating to pull data from MYSQL ? Is there any log ?
    Platform script is --
    OMBCREATE PLATFORM 'MYSQL_TEST' SET PROPERTIES (BUSINESS_NAME) VALUES ('MYSQL_TEST')
    OMBALTER PLATFORM 'MYSQL_TEST' SET PROPERTIES (DRIVER_CLASS,URI_TEMPLATE) VALUES ('com.mysql.jdbc.Driver','jdbc:mysql://<host>\[:<port>\]/\[<database>\]\[?<property>=<value>\[&<property>=<value>...\]\]')
    OMBALTER PLATFORM 'MYSQL_TEST' SET PROPERTIES (COL_ALIAS_WORD,TAB_ALIAS_WORD) VALUES ('AS', 'AS')
    OMBALTER PLATFORM 'MYSQL_TEST' SET PROPERTIES (DATE_MASK) VALUES ('DATETIME')
    OMBALTER PLATFORM 'MYSQL_TEST' SET PROPERTIES (DATE_FCT) VALUES ('CURRENT_DATE()')
    OMBALTER PLATFORM 'MYSQL_TEST' SET PROPERTIES (DDLNULL) VALUES ('')
    OMBALTER PLATFORM 'MYSQL_TEST' SET PROPERTIES (NUMERIC_MASK) VALUES ('DECIMAL(%L,%P)')
    OMBALTER PLATFORM 'MYSQL_TEST' SET PROPERTIES (VARCHAR_MASK) VALUES ('VARCHAR(%L)')
    OMBALTER PLATFORM 'MYSQL_TEST' SET PROPERTIES (LOCAL_OBJECT_MASK) VALUES ('%CATALOG.%OBJECT')
    OMBALTER PLATFORM 'MYSQL_TEST' SET PROPERTIES (DEFAULT_MAX_NAME_LEN) VALUES ('128')
    OMBALTER PLATFORM 'MYSQL_TEST' SET PROPERTIES (REMOTE_OBJECT_MASK) VALUES ('')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'TINYINT'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'TINYINT' SET PROPERTIES(SYNTAX) VALUES ('TINYINT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'TINYINT_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('TINYINT', 'TINYINT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'TINYINT_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('TINYINT', 'TINYINT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'BIGINT'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'BIGINT' SET PROPERTIES(SYNTAX) VALUES ('BIGINT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'BIGINT_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('BIGINT', 'BIGINT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'BIGINT_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('BIGINT', 'BIGINT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'MEDIUMBLOB'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'MEDIUMBLOB' SET PROPERTIES(SYNTAX) VALUES ('MEDIUMBLOB')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'MEDIUMBLOB_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('MEDIUMBLOB', 'VARCHAR')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'LONGBLOB'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'LONGBLOB' SET PROPERTIES(SYNTAX) VALUES ('LONGBLOB')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'LONGBLOB_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('LONGBLOB', 'VARCHAR')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'BLOB'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'BLOB' SET PROPERTIES(SYNTAX) VALUES ('BLOB')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'BLOB_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('BLOB', 'BLOB')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'BLOB_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('BLOB', 'BLOB')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'TINYBLOB'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'TINYBLOB' SET PROPERTIES(SYNTAX) VALUES ('TINYBLOB')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'TINYBLOB_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('TINYBLOB', 'VARCHAR')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'CHAR'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'CHAR' SET PROPERTIES(P1,P1MAX,P1DEFAULT,P1TYPE) VALUES ('SIZE','255', '1','RANGE')
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'CHAR' SET PROPERTIES(SYNTAX) VALUES ('CHAR(%SIZE)')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'CHAR_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('CHAR', 'CHAR')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'CHAR_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('CHAR', 'CHAR')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'ENUM'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'ENUM' SET PROPERTIES(P1,P1MAX,P1DEFAULT,P1TYPE) VALUES ('SIZE','255', '1','RANGE')
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'ENUM' SET PROPERTIES(SYNTAX) VALUES ('ENUM')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'ENUM_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('ENUM', 'CHAR')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'NUMERIC'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'NUMERIC' SET PROPERTIES(P1,P1MIN, P1MAX,P1DEFAULT,P1TYPE) VALUES ('PRECISION','1', '1000', '1','RANGE')
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'NUMERIC' SET PROPERTIES(P2,P2MIN, P2MAX,P2DEFAULT,P2TYPE) VALUES ('SCALE','0', '18', '0','RANGE')
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'NUMERIC' SET PROPERTIES(SYNTAX) VALUES ('NUMERIC(%PRECISION,%SCALE)')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'NUMERIC_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('NUMERIC', 'NUMERIC')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'NUMERIC_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('NUMERIC', 'NUMERIC')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'DECIMAL'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'DECIMAL' SET PROPERTIES(P1,P1MIN, P1MAX,P1DEFAULT,P1TYPE) VALUES ('PRECISION','1', '1000', '1','RANGE')
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'DECIMAL' SET PROPERTIES(P2,P2MIN, P2MAX,P2DEFAULT,P2TYPE) VALUES ('SCALE','0', '18', '0','RANGE')
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'DECIMAL' SET PROPERTIES(SYNTAX) VALUES ('DECIMAL(%PRECISION,%SCALE)')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'DECIMAL_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('DECIMAL', 'DECIMAL')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'DECIMAL_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('DECIMAL', 'DECIMAL')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'INT'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'INT' SET PROPERTIES(SYNTAX) VALUES ('INT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'INT_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('INT', 'INTEGER')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'INT_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('INTEGER', 'INT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'INT UNSIGNED'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'INT UNSIGNED' SET PROPERTIES(SYNTAX) VALUES ('INT UNSIGNED')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'INTU_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('INT UNSIGNED', 'INTEGER')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'MEDIUMINT'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'MEDIUMINT' SET PROPERTIES(SYNTAX) VALUES ('MEDIUMINT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'MEDIUMINT_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('MEDIUMINT', 'NUMERIC')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'SMALLINT'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'SMALLINT' SET PROPERTIES(SYNTAX) VALUES ('SMALLINT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'SMALLINT_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('SMALLINT', 'SMALLINT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'SMALLINT_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('SMALLINT', 'SMALLINT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'FLOAT'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'FLOAT' SET PROPERTIES(P1,P1MAX,P1DEFAULT,P1TYPE) VALUES ('PRECISION','53', '1','RANGE')
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'FLOAT' SET PROPERTIES(SYNTAX) VALUES ('FLOAT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'FLOAT_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('FLOAT', 'FLOAT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'FLOAT_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('FLOAT', 'FLOAT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'DOUBLE'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'DOUBLE' SET PROPERTIES(SYNTAX) VALUES ('DOUBLE')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'DOUBLE_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('DOUBLE', 'DOUBLE')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'DOUBLE_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('DOUBLE', 'DOUBLE')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'DOUBLE PRECISION'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'DOUBLE PRECISION' SET PROPERTIES(SYNTAX) VALUES ('DOUBLE PRECISION')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'DOUBLE PRECISION_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('DOUBLE PRECISION', 'NUMERIC')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'REAL'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'REAL' SET PROPERTIES(SYNTAX) VALUES ('REAL')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'REAL_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('REAL', 'REAL')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'REAL_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('REAL', 'REAL')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'VARCHAR'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'VARCHAR' SET PROPERTIES(P1,P1MAX,P1DEFAULT,P1TYPE) VALUES ('SIZE','65536', '1','RANGE')
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'VARCHAR' SET PROPERTIES(SYNTAX) VALUES ('VARCHAR(%SIZE)')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'VARCHAR_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('VARCHAR', 'VARCHAR')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'VARCHAR_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('VARCHAR', 'VARCHAR')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'DATE'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'DATE' SET PROPERTIES(SYNTAX) VALUES ('DATE')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'DATE_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('DATE', 'DATE')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'DATE_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('DATE', 'DATE')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'TIME'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'TIME' SET PROPERTIES(SYNTAX) VALUES ('TIME')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'TIME_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('TIME', 'TIME')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'TIME_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('TIME', 'TIME')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'DATETIME'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'DATETIME' SET PROPERTIES(SYNTAX) VALUES ('DATETIME')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'DATETIME_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('DATETIME', 'DATETIME')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'DATETIME_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('DATETIME', 'DATETIME')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'TIMESTAMP'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'TIMESTAMP' SET PROPERTIES(SYNTAX) VALUES ('TIMESTAMP')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'TIMESTAMP_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('TIMESTAMP', 'TIMESTAMP')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'TIMESTAMP_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('TIMESTAMP', 'TIMESTAMP')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'TEXT'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'TEXT' SET PROPERTIES(SYNTAX) VALUES ('TEXT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'TEXT_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('TEXT', 'VARCHAR(MAX)')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'TEXT_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('VARCHAR(MAX)', 'TEXT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD PLATFORM_TYPE 'BIT'
    OMBALTER PLATFORM 'MYSQL_TEST' MODIFY PLATFORM_TYPE 'BIT' SET PROPERTIES(SYNTAX) VALUES ('BIT')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD FROM_PLATFORM_TYPEMAP 'BIT_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('BIT', 'BOOLEAN')
    OMBALTER PLATFORM 'MYSQL_TEST' ADD TO_PLATFORM_TYPEMAP 'BIT_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('BOOLEAN', 'BIT')
    Regards,
    Samurai.
    Edited by: Samurai on Mar 8, 2010 7:34 AM
    Edited by: Samurai on Mar 8, 2010 7:55 AM

    Hi David,
    Is there any patch for it ? I checked on metalink but did not found anything related to bug.
    We have one more issue with importing objects in MYSQL. Most of the tables have primary constraints with name PRIMARY in MYSQL.
    When we select multiple tables for import, only the first table gets imported succesfully and on the other tables the constrainsts section blow up with error -
    creation failed (name already exists)
    On pressing ok, OWB throws an error - API2216: Cannot drop database link. Please contact oracle support with the stack trace and the details on how to reproduce it.
    This is corrupting the flatform. We get this error everytime we import an object. But the object gets imported.
    On the table which gets imported successfully , when i look at keys (constraints) there i dont see any columns under the constraint PRIMARY.
    Error Details -
    API2216: Cannot drop database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
    API2216: Cannot drop database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
    Persistent Layer Error:SQL Exception..
    Class Name: oracle.wh.service.sdk.integrator.RepositoryUtils.
    Method Name: dropDBLink(String).
    Method Name: -1.
    Persistent Layer Error Message: java.sql.SQLException: ORA-01729: database link name expected
    .     at oracle.wh.service.sdk.integrator.RepositoryUtils.dropDBLink(RepositoryUtils.java:331)
         at oracle.wh.service.sdk.integrator.RepositoryUtils.dropDBLink(RepositoryUtils.java:304)
         at oracle.wh.ui.integrator.common.wizards.ImportWizardDefinition.onFinish(ImportWizardDefinition.java:361)
         at oracle.wh.ui.owbcommon.OWBWizard.wizardFinished(OWBWizard.java:975)
         at oracle.bali.ewt.wizard.BaseWizard.processWizardEvent(Unknown Source)
         at oracle.bali.ewt.wizard.BaseWizard.processEventImpl(Unknown Source)
         at oracle.bali.ewt.LWComponent.processEvent(Unknown Source)
         at oracle.bali.ewt.wizard.BaseWizard.doFinish(Unknown Source)
         at oracle.bali.ewt.wizard.BaseWizard$Action.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:5501)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:525)
         at java.awt.Dialog$2.run(Dialog.java:553)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:551)
         at java.awt.Component.show(Component.java:1300)
         at java.awt.Component.setVisible(Component.java:1253)
         at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
         at oracle.wh.ui.owbcommon.OWBWizard.initialize(OWBWizard.java:834)
         at oracle.wh.ui.owbcommon.OWBWizard.<init>(OWBWizard.java:202)
         at oracle.wh.ui.owbcommon.OWBWizard.<init>(OWBWizard.java:184)
         at oracle.wh.ui.owbcommon.IdeUtils._doShowWizardDefinition(IdeUtils.java:1247)
         at oracle.wh.ui.owbcommon.IdeUtils.showWizard(IdeUtils.java:487)
         at oracle.wh.ui.integrator.common.CommonController$1ImportDialogListener.actionPerformed(CommonController.java:127)
         at oracle.wh.service.sdk.OWBConsumer.dataItemAvailable(OWBInfoBus.java:381)
         at javax.infobus.DefaultController.fireItemAvailable(DefaultController.java:90)
         at javax.infobus.InfoBus.fireItemAvailable(InfoBus.java:989)
         at oracle.wh.service.sdk.OWBInfoBus.produce(OWBInfoBus.java:160)
         at oracle.wh.service.sdk.OWBInfoBus.produce(OWBInfoBus.java:76)
         at oracle.wh.ui.console.commands.TreeMenuHandler.notify(TreeMenuHandler.java:104)
         at oracle.wh.ui.console.commands.ModuleImportCmd.performAction(ModuleImportCmd.java:189)
         at oracle.owbimpl.ide.menu.TreeMenuHandlerAdapter.handleEvent(TreeMenuHandlerAdapter.java:46)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5501)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Thanks,
    Samurai.

  • MySQL problem -- ERROR 2002 Can't connect to local MySQL server

    Not Sure if this would be a right forum for my problem...
    I'm installing mySQL on my iBook, and thought that I have configured it. But then, after followring some instuctions from Adobe and Marc Liyanage sites, I have a problem to connect. This is what I've done in "TERMINAL"
    ~username$> cd /usr/local/mysql
    mysql ~username$> sudo chown -R mysql data/
    (asking for admin password)
    mysql ~username$> sudo echo
    mysql ~username$> sudo ./bin/mysqld_safe &
    username-ibook-g4:/usr/local/mysql username$ Starting mysqld daemon with databases from /usr/local/mysql/data
    STOPPING server from pid file /usr/local/mysql/data/roshaili-osmans-ibook-g4.local.pid
    060611 16:31:30 mysqld ended
    mysql ~username> /usr/local/mysql/bin/mysql test
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
    [1]+ Done sudo ./bin/mysqld_safe
    mysql ~username>
    When I typed ::
    /usr/local/mysql/bin/mysqladmin -u root
    (see that there's no password)
    Then it displays:
    /usr/local/mysql/bin/mysqladmin Ver 8.41 Distrib 5.0.22, for apple-darwin8.6.0 on powerpc
    Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
    This software comes with ABSOLUTELY NO WARRANTY. This is free software,
    and you are welcome to modify and redistribute it under the GPL license
    Administration program for the mysqld daemon.
    Usage: /usr/local/mysql/bin/mysqladmin [OPTIONS] command command....
    -c, --count=# Number of iterations to make. This works with -i
    (--sleep) only.
    ...... bla bla bla.....
    Variables (--variable-name=value)
    and boolean options {FALSE|TRUE} Value (after reading options)
    count 0
    force FALSE
    compress FALSE
    character-sets-dir (No default value)
    default-character-set (No default value)
    host (No default value)
    port 0
    .........bla bla....
    ping Check if mysqld is alive
    processlist Show list of active threads in server
    reload Reload grant tables
    refresh Flush all tables and close and open logfiles
    shutdown Take server down
    status Gives a short status message from the server
    start-slave Start slave
    stop-slave Stop slave
    variables Prints variables available
    version Get version info from server
    roshaili-osmans-ibook-g4:~ roshailiosman$ >
    -----------------finish-----------------
    Does that mean that I'm connected to mySQL?
    Does anybody how to connect to MYSQL from the terminal? Thanks.
    iMac Mac OS X (10.4.6)
    iMac   Mac OS X (10.4.6)  

    Your biggest 'issue' right now is that your mysqld process is stopping on you -- making a connection impossible.
    Why it's bombing might be in a log .. try in mysql/data/usr.local.err .. and fix why itsbombing.
    To connect to it it'll be : mysql -u root -ppassword -D database

  • ./mysqlshow: Can't connect to local MySQL server through socket '/tmp/mysql

    hi all ,I install mysql on Solaris 10 at first it work fine , but after I restart my PC and go back again I got error on
    ./mysqlshow: Can't connect to local MySQL server through socket '/tmp/mysql
    I google , but still not sure how to deal with it
    Thank you

    I've just done a clean install of OSX Server and added the latest MYSQL packaged installer. Afterwards I found the lock file in /private/tmp/mysql.lock
    The easiest way to solve this problem is to create a symbolic link so that the lock file appears to be in right place.
    e.g.
    cd /var
    sudo mkdir mysql <== this assumes the directory is missing
    cd mysql
    sudo ln -s /private/tmp/mysql.sock mysql.sock
    After this msql commands should work fine, and you've not fiddled with the security settings on users/groups.
    HTH
    Christian

  • Problems with PHP and MySQLi server behaviors

    Hi,
    I'm a graphic and Web-designer with some knowledge of PHP and MySQL and I've been using Dreaweaver since very early ages in creating dynamic web projects and use the Bindings and Server behaviors quite a lot. But recently PHP has deprecated MySQL_connect since 2012 and it seems Dreamweaver isnt suporting the alternative MYSQLi server behaviors which will be the future of accessing Databases in MySQL along side with other options. Without this feature Dreamweaver is not of any use to us web-designers, since there are many Free great Editing software out there... Is the Dreamweaver team solving this problem? Or are you really planning on dropping this software? I've been using CS5.5 for a while and was planning on updating but this is a key feature and without it its not worth the investment.
    Kind regards.
    Eddy

    heduino wrote:
    Hi,
    I'm a graphic and Web-designer with some knowledge of PHP and MySQL and I've been using Dreaweaver since very early ages in creating dynamic web projects and use the Bindings and Server behaviors quite a lot. But recently PHP has deprecated MySQL_connect since 2012 and it seems Dreamweaver isnt suporting the alternative MYSQLi server behaviors which will be the future of accessing Databases in MySQL along side with other options. Without this feature Dreamweaver is not of any use to us web-designers, since there are many Free great Editing software out there... Is the Dreamweaver team solving this problem? Or are you really planning on dropping this software? I've been using CS5.5 for a while and was planning on updating but this is a key feature and without it its not worth the investment.
    Kind regards.
    Eddy
    There are no plans that I know of to introduce a new set of mysqli server behaviours into DW from Adobe. They have left that to  thrid party developers to bring out extensions which replace them.
    What the server behaviours could do was very limiting anyway so I suspect any replacement mysqli behaviours would also be very limiting. I personally jumped into thre code and started to write my own mysqli connection files and query strings by watching a few simple tutorials on youtube - it isnt that difficult.
    Look for 'php academy' on youtube - they have about 9 simple to follow tutorials on getting started with mysqli.

Maybe you are looking for

  • Crystal 2008 with BDS 2006

    Post Author: DiegoBrazil CA Forum: Other Hi.... nowaday we are using CRPE32.dll to integrate Delphi with Crystal 8.5. But, we are having problems with RTF format (problems with Special Characters). We are migrating Crystal 8.5 to Crystal 2008, but we

  • Is it just me, or is everyone who purchased a "boxed version" required to continuously activate their software?

    Before this ASININE copyright-protocol activation bull@#$% was repeatedly inflicted upon me, I had an idea that Adobe was a good company. I now see just how far out of touch they REALLY are with their customers. I ask you, who in their right mind wou

  • Function to break up a string

    Hi , Please tell me the function name and its syntax to break a string into number of variables..... Eg: Variables: a,b,c String: Hi,Rahul,ThisSide The Result should be: a=Hi b=Rahul c=ThisSide The "," should be the breaking point... Regards, Rahul

  • Play songs back-to-back

    Hey all, First off, I'm running the latest version of Itunes for Windows XP. I've been trying to figure out how to play songs back-to-back in Itunes while everything is set to shuffle. I've had some success, but overall, I can't replicate my success.

  • Current backups locked in "corrupt" sparsebundle!

    Ok, here is a weird one! I've been using Time Machine on an intel imac with a 500 gig external (firewire) Hd since Dec. 2007 with no trouble whatsoever. However, my wife and I also have a couple laptops, so when I learned this spring that you could h