Can Dreamweaver CS5 connect to MySQL via ODBC?
I am unable to make a direct connection to an external MySQL database because most hosting provider does not allow this type of connection due to security reasons. I am however able to make an ODBC connection to the database (which I am currently using to connect filemaker to our MySQL database).
How can I tell Dreamweaver CS5 to connect via the ODBC driver so I can see the MySQL content in my Dreamweaver project?
I am on a Mac running OS X 10.6.4.
GeorgeRudd wrote:
How can I tell Dreamweaver CS5 to connect via the ODBC driver so I can see the MySQL content in my Dreamweaver project?
You can't - at least not if you want to use Dreamweaver's server behaviors. Dreamweaver uses the original PHP MySQL extension. If you want to connect in any other way, you need to hand code everything yourself.
On the other hand, if you want to see the contents of your remote database in Dreamweaver, define your remote server as the testing server. Dreamweaver uploads a hidden folder to the remote server to connect to the database. Because the script is on your remote server, it's local to the MySQL database, so gets round the security issue. It then sends the details to your local computer.
A better solution, though, is to establish a local testing environment. It's more responsive and much more secure. http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html.
By the way, the failure to get a reply is due, in part, to posting your question in the wrong forum. The forum for issues related to PHP/MySQL and other server-side technologies is http://forums.adobe.com/community/dreamweaver/dreamweaver_development.
Similar Messages
-
Connection to MySQL via ODBC not working
Hello all together,
I've got a problem with the ODBC connection to MySQL. The connection via ODBC is established and things like tnsping are working.
When I select some data within the SQL*Plus environment, I get no real result. For example "select table_name from all_tables@mysql;" returns nothing.
My entry in listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME=odbc_mysql)
(ORACLE_HOME=D:\oracle\product\11.0.1\db_1)
(PROGRAM=dg4odbc)
My entry in tnsnames.ora:
MYSQL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA = (SID=odbc_mysql))
(HS=OK)
The initodbc_mysql.ora in ORACLE_HOME/hs/admin/:
HS_FDS_CONNECT_INFO = odbc_mysql
HS_AUTOREGISTER = TRUE
HS_DB_NAME = hsodbc
I tried some modifications but I still get no data from mysql database. When I try "select * from customer@mysql;" I get the correct number of records, the correct column names, but the content is always "¬¬¬¬". The odbc driver works, because with MS Access I can fetch the data. I'm using Oracle 11g Release 1 EE and MySQL ODBC 5.1.5.
What could be the reason for this?
Greetings,
Joergcreated in my UTF-8 Mysql DB your table and inserted a record; the select shows:
SQL> select * from "movieclass"@mysql;
idClass
ClassName
123
H e l l o
As you can see the content is there, the "space" between the letters is related to unicode. Each character is interpreted by 2 bytes and SQL*Plus wrongly displays both. Using iSQLPLus or SQLDeveloper does not show the "space" between the letters.
Here the data type mapping:
SQL> desc "movieclass"@mysql;
Name Null? Type
idClass NUMBER(3)
ClassName NOT NULL NVARCHAR2(50)
What's the exact version of DG4ODBC you're using? 11.1.0.7?
According to the listener file you're using DG4ODBC on Windows. There was a high/low byte issue in DG4ODBC for Windows. This issue is fixed in 11.1.0.7 and a certain patch. So I recommend you to get first the 11.1.0.7 patchset (if you don't already have it installed):
6890831 Oracle Database Family: Patchset
11.1.0.7.0 PATCH SET FOR ORACLE DATABASE SERVER 11.1.0.7.0
and then please apply also the latest patch:
8689191 Oracle Database Family: Patch
ORACLE 11G 11.1.0.7 PATCH 16 BUG FOR WINDOWS 32 BIT 11.1.0.7.0
There was a high/low byte issue
Edited by: kgronau on Aug 11, 2009 10:28 AM -
Error connecting to mysql via ODBC
Hi folks,
I set up Oracle Database Gateway for ODBC with mysql driver (I tried mysql-connector-odbc-5.1.11-1.x86_64.rpm (currently used and log output shown) and mysql-connector-odbc-5.2.2-1.x86_64.rpm). I am unable to create a connection to the mysql database.
Here are the parameters:
Oracle database: 11gR2, AL32UTF8 , Suse SLES11 64 Bit
Oracle Database Gateway for ODBC: installed on Suse SLES10, 64 Bit
ODBC DSN: ona_nb
initona_nb.ora in /opt/oracle/product/11.2.0/gtw_odbc/hs/admin:
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO=ona_nb
HS_FDS_TRACE_LEVEL=255
HS_FDS_SHAREABLE_NAME =/usr/lib64/libmyodbc5.so
HS_LANGUAGE=AMERICAN_AMERICA.ISO8859P1
#HS_TRANSACTION_MODEL=READ_ONLY
#HS_FDS_SQLLEN_INTERPRETATION=32
# ODBC specific environment variables
set ODBCINI=/home/oracle/odbc/ona_nb-odbc.ini
set ODBCINSTINI=/home/oracle/odbc/ona_nb-odbc.ini
(I tried diffenet Language settings or no language setting at all, slightly different ..../hs/log trace files)
ODBC file:
ona_nb-odbc.ini :
[ODBC Data Sources]
ona_nb= MySQL ODBC Driver 5.2.2-1
[ona_nb]
Driver = /usr/lib64/libmyodbc5.so
DATABASE = ona_default
DESCRIPTION = MySQL Verbindung zur ona V11 Datenbank auf Christians Notebook
PORT = 3306
SERVER = cwolbert.gsi.de
UID = oreader
PWD = xxxxxx
[ODBC]
TRACEFILE = /tmp/mysql-odbc-ona_nb.trc
TRACE = Yes
ForceTrace = Yes
set LD_LIBRARY_PATH=/usr/lib64:/opt/oracle/product/11.2.0/gtw_odbc/
Listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/11.2.0/dbhome_3)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = gridrep.gsi.de)
(ORACLE_HOME = /opt/oracle/product/11.2.0/dbhome_3)
(SID_NAME = gridrep)
(SID_DESC=
(SID_NAME=ona_nb)
(ORACLE_HOME=/opt/oracle/product/11.2.0/gtw_odbc)
(PROGRAM=dg4odbc)
(ENVS=LD_LIBRARY_PATH=/usr/lib64:/opt/oracle/product/11.2.0/gtw_odbc/lib)
Trying
select * from locations@ona_nb
whre ona_nb is the dblink
CREATE DATABASE LINK "ONA_NB.GSI.DE"
CONNECT TO OREADER
IDENTIFIED BY <PWD>
USING 'ona_nb';
I get the error
ORA-28511: RPC-Verbindung zu heterogenem Remote Agent mit SID=ORA-28511: RPC-Verbindung zu heterogenem Remote Agent mit SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pcora11.gsi.de)(PORT=1521))(CONNECT_DATA=(SID=ona_nb))) abgebrochen abgebrochen
ORA-02063: vorherige line von ONA_NB
and here is the trace file from hs/log. I am unable to create any ODBC trace file, fiddling around with differnt settings
Oracle Corporation --- FRIDAY NOV 23 2012 15:37:21.114
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- FRIDAY NOV 23 2012 15:37:21.113
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "ona_nb"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:ona_nb
Exiting hgogprd, rc=0
hostmstr: 0: HOA After hoagprd
hostmstr: 0: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=873
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HOCXU_SEM_VER=112000
Entered hgolofn at 2012/11/23-15:37:21
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libmyodbc5.so"
Entered hgolofns at 2012/11/23-15:37:21
libname=/usr/lib64/libmyodbc5.so, funcname=SQLAllocHandle
symbol_peflctx=0xaab3f456
hoaerr:0
Exiting hgolofns at 2012/11/23-15:37:21
Entered hgolofns at 2012/11/23-15:37:21
libname=/usr/lib64/libmyodbc5.so, funcname=SQLBindCol
symbol_peflctx=0xaab44ce3
hoaerr:0
Exiting hgolofns at 2012/11/23-15:37:21
Entered hgolofns at 2012/11/23-15:37:21
libname=/usr/lib64/libmyodbc5.so, funcname=SQLBindParameter
symbol_peflctx=0xaab4342c
hoaerr:0
Exiting hgolofns at 2012/11/23-15:37:21
Entered hgolofns at 2012/11/23-15:37:21
libname=/usr/lib64/libmyodbc5.so, funcname=SQLCancel
symbol_peflctx=0xaab3e6e5
hoaerr:0
Exiting hgolofns at 2012/11/23-15:37:21
Entered hgolofns at 2012/11/23-15:37:21
libname=/usr/lib64/libmyodbc5.so, funcname=SQLDescribeParam
symbol_peflctx=0xaab4346b
.... many similar stuff
Exiting hgolofns at 2012/11/23-15:37:21
Entered hgolofns at 2012/11/23-15:37:21
libname=/usr/lib64/libmyodbc5.so, funcname=SQLStatisticsW
symbol_peflctx=0xaab477de
hoaerr:0
Exiting hgolofns at 2012/11/23-15:37:21
Entered hgolofns at 2012/11/23-15:37:21
libname=/usr/lib64/libmyodbc5.so, funcname=SQLTablesW
symbol_peflctx=0xaab47a16
hoaerr:0
Exiting hgolofns at 2012/11/23-15:37:21
Exiting hgolofn, rc=0 at 2012/11/23-15:37:21
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2012/11/23-15:37:21
hostmstr: 0: HOA After hoainit
hostmstr: 0: HOA Before hoalgon
Entered hgolgon at 2012/11/23-15:37:21
reco:0, name:OREADER, tflag:0
Entered hgosuec at 2012/11/23-15:37:21
Exiting hgosuec, rc=0 at 2012/11/23-15:37:21
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using OREADER as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2012/11/23-15:37:21
HS_FDS_CONNECT_INFO = "ona_nb"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2012/11/23-15:37:21
dsn:ona_nb, name:OREADER
optn:
Entered hgocip at 2012/11/23-15:37:21
dsn:ona_nb
Exiting hgocip, rc=0 at 2012/11/23-15:37:21
##>Connect Parameters (len=33)<##
## DSN=ona_nb;
#! UID=OREADER;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2012/11/23-15:37:21
Entered hgopoer at 2012/11/23-15:37:21
hgopoer, line 233: got native error 0 and sqlstate H; message follows...
Exiting hgopoer, rc=0 at 2012/11/23-15:37:21
hgocont, line 2752: calling SqlDriverConnect got sqlstate H
Using no HS_LANGUAGE or HS_LANGUAGE=AMERICAN_AMERICA.AL32UTF8
I still get the same error meassages and logs.
Can you help please?
Cheers MichaelHi Klaus,
I think the unixODBC driver manager is installed
I have:
oracle@pcora11:/opt/oracle/product/11.2.0/gtw_odbc/hs/log> odbcinst -j
unixODBC 2.2.11
DRIVERS............: /etc/unixODBC/odbcinst.ini
SYSTEM DATA SOURCES: /etc/unixODBC/odbc.ini
USER DATA SOURCES..: /home/oracle/.odbc.ini
and
cat /etc/unixODBC/odbcinst.ini
[MySQL ODBC 5.1 Driver]
Driver = /usr/lib64/libmyodbc5.so
UsageCount = 1
but the two file for SYSTEM and USER DSN are empty.
I tried now:
HS_FDS_SHAREABLE_NAME =/usr/lib64/libodbc.so
and
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
and the result is still the same, what I posted in the prevoius answer to Mike,
ORA-28500: Verbindung von ORACLE zu Fremdsystem gab diese Nachricht zur³ck:
[unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user
'OREADER'@'pcora11.gsi.de' (using password: YES) {HY000,NativeErr = 1045}
ORA-02063: vorherige 2 lines von ONA_NB
and in the trace file:
##>Connect Parameters (len=33)<##
## DSN=ona_nb;
#! UID=OREADER;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2012/11/26-13:25:50
Entered hgopoer at 2012/11/26-13:25:50
hgopoer, line 233: got native error 1045 and sqlstate HY000; message follows...
[unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user 'OREADER'@'pcora11.gsi.de' (using password: YES) {HY000,NativeErr = 1045}
Exiting hgopoer, rc=0 at 2012/11/26-13:25:50
hgocont, line 2752: calling SqlDriverConnect got sqlstate HY000
Exiting hgocont, rc=28500 at 2012/11/26-13:25:50 with error ptr FILE:hgocont.c LINE:2772 FUNCTION:hgocont() ID:Something other than invalid authorization
Exiting hgolgon, rc=28500 at 2012/11/26-13:25:50 with error ptr FILE:hgolgon.c LINE:781 FUNCTION:hgolgon() ID:Calling hgocont
hostmstr: 0: HOA After hoalgon
RPC Calling nscontrol(0), rc=0
hostmstr: 0: RPC Before Exit Agent
hostmstr: 0: HOA Before hoaexit
Entered hgoexit at 2012/11/26-13:25:50
Exiting hgoexit, rc=0
hostmstr: 0: HOA After hoaexit
hostmstr: 0: RPC After Exit Agent
Even if I copy the content of ona_nb-odbc.ini file to /etc/unixODBC/obc.ini
I still get the same error.
Any ideas?
Michael -
Cannot connect from dreamweaver cs5.5 to mysql using the mysql connection wizard
Cannot connect from dreamweaver cs5.5 to mysql using the mysql connection wizard error Http error 403 or 500 internal server error. I am using ubuntu mysql.
a manual php script work fine
<?php
// open connection to mysql server
$dbc = mysql_connect('localhost','root','password');
if (!$dbc) {
die('Not Connected' . mysql_error ());
//select database
$db_selected = mysql_select_db ("msinventory",$dbc);
if (!$db_selected)
die('Cannot Connect' . mysql_error());
echo "TEST DONE1";
?>
but the database connection wizard fails with http error 403 or 500
i also use the HeidiSQL client and it works, the only problem is in dreamweaver.OK. Did you really mean to ask this question on a ColdFusion forum, if it's DreamWeaver you're having problems with? You're probably better off raising this on a DreamWeaver forum. "Using the correct tool for the job" 'n'all.
Adam -
Problem remote connection to SQL via ODBC
Hello, I have a server machine on which I installed the "SQL Server 2008 R2 Express." On the same machine I have configured a connection to the SQL server via ODBC and I developed a VI that uses the "LABSQL ADO function" and it perfectly communicates via ODBC with the database.
The problem is when I try to connect to the database from a remote PC. Even on the remote PC I configured the connection via ODBC. I launch the same VI I described above, it performs correctly the ADO Connection Open the ADO connection, but the SQL Execute returned an unknown error: -2147217865. It seems that it can not find the table on which I am doing the query.
Does anyone have any idea? I have no experience with databases and do not know what tests to do.
Thanks a lot.Hi,
actually the Microsoft error code seems to be related to not-existing table (see here).
Anyway, this error code may result when trying to use tables with spaces or other special characters ("-", "/", "\", "?" ) in their names.
Is this true also in the database you are using?
Could it be an issue with permission levels?
I hope it helps!
Bye,
Licia -
Connecting to MySQL via DW after Leopard install
I cannot connect to MySQL 5.041 through DW CS3 after
upgrading to Leopard. MySQL Admin and MySQL Query Browser both can
connect and make queries to the database. I just can't connect
through Dreamweaver. I get the "MySQL Error#: 2002" error which
states "Can't connect to local MySQL server through socket
'/var/mysql/mysql.sock' (2). Problem is there is no such
path.There may be an updated needed for dreamweaver, however, I
did find some info about MySQL running on Leopard:
http://bugs.mysql.com/bug.php?id=32019
and some workarounds that I have not tested as being valid:
http://angry-fly.com/index.cfm/2007/10/26/Fix-for-MySQL-on-Leopard -
Dreamweaver not connecting to mysql?
I have set up a database in MAMP which Dreamweaver was connected to and all worked fine. I have now copied that database in phpmyadmin via my hosting server and also uploaded all my files to my current (live) site and im now having connection problems, in the database panel in Dreamweaver there is a database present but no tables, when i open the mysql connection dialog box and try to select database or test it, it comes up with - 'unidentified error has occured'
Does anyone have any idea where i have gone wrong?Ness_quick wrote:
I have set up a database in MAMP which Dreamweaver was connected to and all worked fine. I have now copied that database in phpmyadmin via my hosting server and also uploaded all my files to my current (live) site and im now having connection problems, in the database panel in Dreamweaver there is a database present but no tables, when i open the mysql connection dialog box and try to select database or test it, it comes up with - 'unidentified error has occured'
Does anyone have any idea where i have gone wrong?
Humm..Im not sure why you are looking in the Dreamweaver database panel for something on the remote site?
All you should have needed to do was export the database to a .sql file from your local copy of phpMyAdmin. Open the remote copy of phpMyAdmin and import it. -
Remotley connect to mySql via mm.mysql
Hello,
I'm running WIN2k, JDK 1.2.1_004 and I'm trying to make a local java application to connect to mysql on my web server via mm.mysql. But it doesn't work
I get the following error:
SQLState: 08001
Message: No suitable driver
Vendor: 0
I've tried to connect via the ip:
Connection con = DriverManager.getConnection ("jdbc:mysql://64.176.118.240:3306/grattiskort_com?user=grattis&password=");
And domain name
Connection con = DriverManager.getConnection ("jdbc:mysql://grattiskort.com:3306/grattiskort_com?user=grattis&password=");
I have enabled remote connection in mysql config.
Do I need to install the driver on my web server too, and if so, how do I do that?
Does anyone have a clue what's wrong?
Regards,
ChrilleMessage: No suitable driverWhere do you load the driver?
-
Oracle and MySql via ODBC - Field with special characters
Hi,
I recentely installed and configured DG4ODBC 11.2 in my environment, with Oracle 10g as Database. I have a working ODBC and I can successfully select from tables@mysql.
I have a problem with some fields in the mysql table though: various fields are named "Attività", "Località" and so on. Please, note the "à" character.
Now if I select @mysql from some table with normal field name everything works fine. But in some case I have this error:
[MySQL][ODBC 5.1 Driver][mysqld-5.0.77]Unknown column 'A1.attivit??A commessa'
in 'field list' {42S22,NativeErr = 1054}
The field true name is "attività commessa" and if in a test database I rename the field changing that "à" with a normal "a" everything start working. But of course, that is a production database and I can't change the field name.
Anyone faced that problem before?
My init entry:
HS_FDS_CONNECT_INFO = myodbc5
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc5.so
HS_FDS_SQLLEN_INTERPRETATION=32
HS_FDS_FETCH_ROWS=1
HS_LANGUAGE=ITALIAN_ITALY.I8EBCDIC280
set ODBCINI=/usr/local/etc/odbc.ini
set SQL_MODE='ANSI_QUOTES'
Note: I added HS_LANGUAGE and SQL_MODE but tried even without those entries and it's still not working.
My odbc.ini:
[myodbc5]
Driver = /usr/lib64/libmyodbc5.so
Description = MySQL Driver DSN
SERVER = xxx.xxx.xxx.xxx
PORT = 3306
USER = user
Password = pass
Database = sm_test
OPTION = 3
SOCKET =
CHARSET = latin1
P.S.: Please don't kill me, I'm not the creator of the Mysql database with those field names!I've created your test table in my Oracle database using this extra character and I'm able to describe it properly.
SQL> desc test;
Name Null? Type
ATTIVITÀ VARCHAR2(40)
My character set being used is:
SQL> select * from v$nls_parameters;
NLS_CHARACTERSET
WE8ISO8859P15
NLS_NCHAR_CHARACTERSET
AL16UTF16
NLS_LENGTH_SEMANTICS
BYTE
So as long as it doesn't work for you in your native Oracle database I don't think it would work with DG4ODBC. So yes, it would be best to log a service request so that the Oracle database support can check out the NLS issue.
Edited by: kgronau on Sep 28, 2011 9:21 AM
To be complete here the describe of the MySQL table native and using DG4ODBC:
mysql> create table TEST (attività Varchar(40));
Query OK, 0 rows affected (0.00 sec)
mysql> desc TEST;
---------------------------------------------------+
| Field | Type | Null | Key | Default | Extra |
---------------------------------------------------+
| attività | varchar(40) | YES | | NULL | |
---------------------------------------------------+
1 row in set (0.00 sec)
SQL*Plus: Release 11.2.0.2.0 Production on Wed Sep 28 09:20:17 2011
SQL> desc "gateway"."TEST"@MYSQL_DG4ODBC_EMGTW_1122_DB;
Name Null? Type
attività VARCHAR2(80)
So in general it should work. -
Hi everyone...I'm having a little problem and it's blowing my mind...I created my web
site using dreamweaver cs5.5, the free download, and I uploaded the site to the web.
However, my site is asking for a username and password to get into it. I've been searching
the web for answers and asking everyone I know, and haven't found one that is helpful. I've
been reading that the user actually needs to create the page for this to happen, which I did
not. I don't know much about cold fusion, but it seems like this is the way to create the
dialogue box, which again I did nothing of the sort. Please if anyone can help me, that
would be awesome...thanks.ok...so here's a link to my website http://www.axeinthearm.com ...if you open it in explorer it won't let you close the window, so
check it out in firefox...I didn't install any wordpress or drupal...I have also contacted my web host provider and they
said it must be something with the program I made the site in...I have also tried deleting the files and reuploading them and
still the same thing...further, in the creation of the site I used photoshop with slices...this is really confusing...any suggestions? -
Can dreamweaver cs5 support asp?
Hi
I don't usually work with asp and wondered if Dreamweaver cs5 could support making changes to a classic asp page? Years ago it used to be that you could not open an ASP page in dreamweaver or it would overwrite the database strings.
Do I need to do anything to Dreamweaver to create / amend asp pages in CS5 ? Does it support ASP?
thanks
Jane>Years ago it used to be that you could not open an ASP
>page in dreamweaver or it would overwrite the database strings.
It must have been many, many years ago. I've been using DW since MX and it never did that.
>Do I need to do anything to Dreamweaver to create
>/ amend asp pages in CS5 ? Does it support ASP?
It depends. Are the existing pages using DW server behaviors? Which programming language is being used? -
Can connect to MySQL via localhost, but not remotely!
Hi all!
I got a problem that I think you guys could help me with :)..
I have installed JDBC to make it possible to link my Java programs with MySQL databases. The installation worked just fine.
When I'm running my program with line:
Connection connection = null;
connection = DriverManager.getConnection("jdbc:mysql://localhost:3306/chat", "*****", "*****");...it works without any problems. I can handle information from the tables, add posts, delete posts and so on.
But when I'm trying to connect from an another computer, from school for an example, it doesn't connect. JBDC says it can't fint the mysql jbdc driver.
When I'm using this way I uses the line:
Connection connection = null;
connection = DriverManager.getConnection("jdbc:mysql://85.235.154.98:3306/chat", "*****", "*****");Like I said, this doesn't work at all.
How do I fix this problem?
Worth to mention maybe, is that I'm using Windows XP Home, and I have placed the mysql-connector-java-5.0.5-bin.jar in "C:\Program\Java\jre1.6.0_01\lib\ext"
I'm using Java version 1.6.0!
Please Help :)But when I'm trying to connect from an another
computer, from school for an example, it doesn't
connect. So the database is on your home computer? And you are attempting to connect from the school?
JBDC says it can't fint the mysql jbdc
driver.Then it has nothing to do with connecting. That means your class path is wrong.
If it actually is a connection problem then you can do the following in a console window....
telnet 85.235.154.98 3306
There will be one of two results from the above after several minutes.
1. It will just sit there.
2. It will tell you it can't connect.
For 2 you have a problem that has nothing to do with java. Looking at your code will not fix it.
If it is 1 then something is wrong with your code and you should provide the exact exception. -
hi everyone,
im trying to access the mysql database using the myodbc driver and the jdbc-odbc bridge. (yah yah, i know a jdbc driver exists, but lets not get into that since its a long story)
1. if i use a DSN, everythings fine until the actual connection and then i get the following message even though the dsn has a username specified in it
[MySQL][ODBC 3.51 Driver]Access denied for user: '[email protected]' (Using password: NO)
2. if i go DSN-less (which i prefer), i dont know the right way to specify everything in the connection string and i always get the following error irrespective of the combination i try
[Microsoft][ODBC Driver Manager]Data source name not found and no default driver specified
help....hi everyone,
im trying to access the mysql database using the
myodbc driver and the jdbc-odbc bridge. (yah yah, i
know a jdbc driver exists, but lets not get into that
since its a long story)
1. if i use a DSN, everythings fine until the actual
connection and then i get the following message even
though the dsn has a username specified in it
[MySQL][ODBC 3.51 Driver]Access denied for user:
'[email protected]' (Using password: NO)
this also seems to indicate that it isn't getting a password either.
2. if i go DSN-less (which i prefer), i dont know the
right way to specify everything in the connection
string and i always get the following error
irrespective of the combination i try
[Microsoft][ODBC Driver Manager]Data source name not
found and no default driver specified
as far as this goes take a look at these strings. the examples as VB but the strings should be okay.
http://www.able-consulting.com/MDAC/ADO/Connection/ODBC_DSNLess.htm#ODBCDriverForMySQL
also i'm sorry but I can't think of a good reason not to use the pure Java JDBC driver for MySQL. have you had problems setting it up/ installing it? -
Dreamweaver wont connect to mysql
Hello,
I am using Yahoo for my hosting service. They do not allow
remote access to the database on there server. B/c I rely alot on
Dreamweaver mx alot for building php pages to allow my cust to
access the database I need to set up a mysql connection in
Dreamweaver. I have installed mysql and php on my computer. I built
a database w/ a simple table just to have to test the connection.
Anyway, when I try to connect thru Dreamweaver in the database
panel it gives me an unknown error. I cant figure out why! I thank
any one who can assist me w/this.
Thank you,
MandaSexyManda85 wrote:
> Hello,
> I am using Yahoo for my hosting service. They do not
allow remote access to
> the database on there server. B/c I rely alot on
Dreamweaver mx alot for
> building php pages to allow my cust to access the
database I need to set up a
> mysql connection in Dreamweaver. I have installed mysql
and php on my computer.
> I built a database w/ a simple table just to have to
test the connection.
> Anyway, when I try to connect thru Dreamweaver in the
database panel it gives
> me an unknown error. I cant figure out why! I thank any
one who can assist me
> w/this.
http://search.cc.yahoo.com/search?ui_mode=question&property=Yahoo%21+GeoCities&question_bo x=mysql+localhost%3F&Ask=Ask
Mick -
Centro can no longer connect to PC via USB
I bouhght a new PC recently and since then I can not get my Centro to connect to the computer via USB. Ive installed the software and driver and it still says no driver detected whenever I plug it in. Its also popping in and out of the device manger screen like its keeps getting unplugged andplugged back in . Ive tried both the cd driver and downloadable one.
Im running Win7 now, but was using Vista64 Home Prem when I first got the computer..
I never had any problem on my old cpompuer which was running Vista32 Home prem
Post relates to: Centro (Verizon)Hello JalenTigh, Welcome to the Palm Support Community.
Unfortunately, Palm Desktop software has never had a driver for any 64-bit operating system. This has been true for XP64, Vista64, and now Windows 7 64bit.
If I could direct your attention to the Windows HotSync section of this forum you will find many large threads discussing your issue at the top of the section.
You will only be able to sync via a Wireless connection - on your Centro, this would be via BlueTooth.
WyreNut
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!
If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!
Maybe you are looking for
-
HT4550 pdf files are black in Safari 5.1.7, why?
Many times when I wish to view pdf files using Safari 5.1.7 on my MacBook Pro with 10.6.8 , I get a black screen. How can I fix this?
-
Wifi connection cuts out intermittently after updating to 6.1.3
Since I updated to iOS 6.1.3, my iPad 2 is still connected to my wifi network, but it does not stay connected. Every 4-6 seconds it will disconnect and then reconnect, often resulting in video playback stopping, gameplay interruption, and web page c
-
Stacking simple jobs with batch on Solaris 10 x86
Hey Guys, I have a user that needs to load up a bunch of very low priority (nice 19) jobs on a 4 CPU machine so that once one completes, another one starts. I thought batch would be a good use for this. We don't have any mpi worries or anything, thes
-
Hi Gurus, I've a standard text now I need to find where and all it is used .. Is there a way oout ?? Points gauarnteed Regards, Aryan Message was edited by: Aryan T
-
Radio button options in Servlet
I am trying to develop radio buttons in a servlet program. The program is supposed to update a database using the radio button options . I am having problem with the program compiling after I add radio buttons. When compile the program, I receive an