Mysql connection with flex
how can i build a simple and add cart application with flex
and mysql ineed step by step instruction. in ur smaples u defind
some server path which one i need to edit for my application . and
one more how can i uplode all these files to my server
mysql part you still need to do on server side with whatever
scripting language you have on server, you can actually use
RealBasic to make it as CGI for multiple platforms....
Similar Messages
-
Mysql connection with 1and1.co.uk
I am trying to establish a connection with a mysql database at 1and1.co.uk but the connection cannot be established. I have checked the login details with 1and1 and they have suggested I contact Adobe. I am a 'design' interface user of Dreamweaver - I don't know code, so any simple suggestions would be gratefully received!
PBrackett12 wrote:
Ok, I think I did what I was supposed to do - although I got a bit lost. But the result was the following when I uploaded it: Parse error: syntax error, unexpected '=' in /homepages/41/d259550773/htdocs/oakfieldstables/login.php on line 6
For the sake of clarity I've provided the code:
<!-- <?php require_once('Connections/Testserver.php'); ?> -->
<?php
$hostname="dbXXXX.db.1and1.com";
$database_conTestserver.php = "dbXXXX";
$username="dboXXXX";
$password="XXXX";
$link = mysql_connect($hostname, $username, $password);
if (!$link) {
die('Connection failed: ' . mysql_error());
else{
echo "Connection to MySQL server " .$hostname . " successful!
" . PHP_EOL;
$db_selected = mysql_select_db("dbXXXX", $link);
if (!$db_selected) {
die ('Can\'t select database: ' . mysql_error());
mysql_close($link);
The $database_con variable looks incorrect
Open up the Testserver.php in the Connections folder and look for the $database_con line. I doubt it will have .php appended to it?
It will be like the below, right?
$database_conTestserver = "dbXXXX";
Amend the line in the block of php connection code and see what happens. -
MySql connection with EJB2 project
Hi Experts,
Im new in net weaver. I developed a CMP bean using EJB2 project. Now I want to connect with a table which has in MySql database. In net weaver MAXDB,ORACLE etc options are there, but MySql is not there. So pls help me for connecting MySql.
Thanks in Advance
Toji.Hi Toji,
I am not sure you can achieve a Container Managed Persistence if the target database is on some other machine and especially for MySQL, since SAP has their own proprietary database called MaxDB which is also a free product from MySQL AB using which we cannot even achieve a Container Managed Persistence if it installed on another machine.
But you can achieve a Bean Managed Persistence for handling data in the MySQL database.For this,
1) First of all, based on the version of the MySQL you will have to download the appropriate JDBC driver for MySQL.
2) You will have to create an entry for the MySQL JDBC driver through Visual Administrator(access it from <Drive>:\usr\sap\<System ID>\JC<Instance Number>\j2ee\admin\go.bat in the case of windows system).Here while creating the entry you will have to upload the downloaded JDBC driver.For this after login on to the Visual Administrator using the user with admin right, you will have to navigate upto,
Server->Services->JDBC Connector.
3) You will have to create one Data Source. Here you will have to mention the application name , Data Source name, Driver Name( u have to select the earlier created Driver here) , Alias name, JDBC Version, Drive class, Database URL , Username and Password.
The Driver name and Database URL u will have to mention like this.
Driver Name -> com.mysql.jdbc.Driver
URL -> jdbc:mysql://<database name>
4) In the BMP bean, you can look up the datasource like,
InitialContext ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup("jdbc/<DataSource Alias Name mentioned while creating datasource in Visual Administrator>");
Using this DataSource instance, you can create connection and execute queries.
Just refer this help for getting knowledge on Driver creation and DataSource creation for MaxDB.
http://help.sap.com/saphelp_nw04s/helpdata/en/42/073e1d0ab7540fe10000000a114cbd/content.htm
Regards,
Kishor Gopinathan -
MySQL connection with OWB 11gR2 results in "access denied for user"
Hello,
I just try to establish a connection to a MySQL database with OWB 11gR2, but I always get the error "access denied for user...". I did the things written on [http://blogs.oracle.com/warehousebuilder/2010/01/owb_11gr2_mysql_open_connectivity.html] and I also used the platform configuration from this description. Newest JDBC driver was downloaded and I put the jar-file into the folder OWB_HOME/owb/lib/ext. The definition of the MySQL platform worked and the entry "MySQL" was created in OWB, but no connection can be established. I also tried other tools like MySQL Administrator in order to find out whether the problem is caused by network configuration or sth. like that, but with this tool the connection works.
OWB is installed on OpenSuse 11.1 64bit. Does anyone know why this error occurs? Perhaps I missed some configuration tasks, which I don't know so far?
I'm looking forward to your answers.
Greetings
JoergHi David,
thank you for your reply. The corresponding user has already got this host setting. Anyway he got the wildcard '%' and with other tools I can connect.
I solved the problem now due to just trying around with usernames. The error was quite funny: OWB changes the username always into upper case and MySQL cannot handle this username. The username must match 100% to be able to login.
Now I just changed the user in MySQL and wrote the username in upper case. But in fact I would like to know if it is possible to avoid that OWB changes the username, with quotes it didn't work ;-)
Greetings
Joerg
UPDATE:
Now I'm facing another problem: the connection works, but I cannot import any metadata. When I click on "Browse" to select the correct schema in MySQL DB, no result is displayed. The user anyway has go the privileges to select data from this schema. I also tried to provide the user with every possible privileges for this schema, but I still cannot select any schema. When I write the schema manually and then try to import database objects iin OWB the error message "definitions of userdefined metadata interface are invalid" is displayed (translated from german, so the wording could be different). Does anybody have an idea what the problem could be?
Edited by: Scantid on 15.01.2010 00:41 -
i'm using CFMX , mysql 5.0 , mysql-connector-java-3.1.13
how do i set the connection...
1) do i need to add the driver into the ODBC ?
2) do i need to set the COLD FUSION ADMINISTRATOR ? how to
set?
3) i had try to unzip the mysql connecter then paste into the
C:\CFusionMX7\wwwroot\WEB-INF\lib is it correct?
4) how can get some solution here.
tjxI came across this older post. I have the same problem. I
have followed the instruction, and tried different versions of the
driver, but the error still comes up when I try to connect through
CFMX7:
"Connection verification failed for data source: MySQL_test
java.sql.SQLException: No suitable driver available for
MySQL_test, please check the driver setting in resources file,
error: null
The root cause was that: java.sql.SQLException: No suitable
driver available for MySQL_test, please check the driver setting in
resources file, error: null"
If I can add any additional information so that someone can
help me diagnose the problem, please let me know. -
I have followed the advice given here for several
other people and have successfully set up a connection
to a MySQL database. I can successfully test the
database connection from the Connection Wizard.
However, I am having trouble accessing this same
connection from my code. When executing the following
piece of code:
try
Class.forName("org.gjt.mm.mysql.Driver");
I get a ClassNotFoundException.
The advice in the JDeveloper "help" is not that clear.
I have tried registering this driver with the project,
by configuring the connection as a library and adding
this library into the "Project Settings". I've also
added in the database connection in Tools->Preferences.
Finally, I've tried using File->Import->Existing Sources
and choosing the library I created for the mysql Jar
file. None of this works... am I following the correct
procedure, or is there something I've missed?the mysql jdbc driver : org.mm.mysql.Driver (you can find it on www.gjt.org)
the url : jdbc:mysql://host:port/dbname
obtain a connexion:
Class.forName("org.mm.mysql.Driver");
Connection conn = DriverManager.getConnection(url, "username", "password"); -
I HAVE HOST ON YAHOO AND THIS SCRIPT DOSN'T WORK WITH YAHOO
can u help me ....
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_midcommerce = "localhost";
$database_midcommerce = "DATABASE";
$username_midcommerce = "USER";
$password_midcommerce = "PASSWORD";
$midcommerce = mysql_pconnect($hostname_DATABASE,
$username_DATABASE, $password_DATABASE) or
trigger_error(mysql_error(),E_USER_ERROR);
?>Hung Kuen Kung Fu wrote:
> MYSQL is not listed under the phpinfo page. MMM. Not
sure how to enable this in the php.ini so i will have to look.
Remove the semicolon from the beginning of these lines in the
Windows
extensions section:
;extension=php_mbstring.dll
;extension=php_mysql.dll
Also add this line after them:
extension=php_mysqli.dll
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/ -
I amusing Connector/j 3.0 for jdbc through MySQL.
I am also using "org.gjt.mm.mysql.Driver"
Please suggest how to set the classpath/path for mysql driver and where to put the driver,
Please suggest with all configuration details.........http://www.dynamic-apps.com/tutorials/classpath.jsp
-
MySQL Connection with JDeveloper
Hi,
How can i retrieve records from MySQL database in JDeveloper. Is it possible to access database through Java code?
ThanksHI,
Check following will useful
http://www.oracle.com/technetwork/developer-tools/jdev/mysql-and-bc-howto-082060.html -
Problem connecting with database when Flex Builder closed
Hello,
I developed a web page that connects to a database, reads some data and shows it on the screen. I use HTTPService to connect to a php server that takes the data from MySQL. Everything is OK when I run the web page from the Flex Builder, but when I run the page doing double click on the released .html file the connection fails and the program throws this error:
[RPC Fault faultString="Error #2028: Local-with-filesystem SWF file file:///Q:/2009-08-05-1330FinalFrontEnd/bin-release/FrontEnd.swf cannot access Internet URL http://localhost/Test2/Test2.php." faultCode="InvokeFailed" faultDetail="null"]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invoke()
at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::invoke()
at mx.rpc.http::HTTPService/send()
at mx.rpc.http.mxml::HTTPService/send()
at FrontEnd/submitLabelsQuery()
at FrontEnd/updateLabels()
at FrontEnd/___FrontEnd_SetEventHandler5_handler()
Does anyone know how can I run the web page without using Flex Builder?
More info:
I'm using Flex Builder 3 for developing the web page and WampServer 2.0 for the connection with the database.
Thank you,
OnditzYou need to add a crossdomain.xml file at the root directory of your php server.
Thanks,
Nith
See the piece of information copied from the flex documentation:
To make a data service or asset available to SWF files in different domains or on different computers, use a crossdomain policy file on the server that hosts the data service or asset.
A crossdomain policy file is an XML file that provides a way for the server to indicate that its data services and assets are available to SWF files served from certain domains, or from all domains.
Any SWF file that is served from a domain specified by the server's policy file is permitted to access a data service or asset from that server.
By default, place the crossdomain.xml at the root directory of the server that is serving the data. -
Problem in establishing connection with mysql 5.0
Hi,
I am using JCAPS 5.1. I tried to insert data to mysql database table.
But i got following error
java.sql.SQLException: Error in allocating a connection. Cause:
Physical Connection doesn't exist.
My intention is to read file in which data are comma seperated and to
populate those values to a mysql 5.0 database table.
Sample DATA in file [test.txt]
111,gg,23,MFG
112,hh,24,MFG
113,ii,25,RETAIL
114,jj,26,IT
Database table: employee
eno,ename,eage,edept
While creating JDBC OTD there is no problem in establishing connection with database. But after deploying i got above error.
I have used Mysql 5.0 Connector/J JDBC driver. Added JDBC driver jar files to following directories as required.
1) C:\JavaCAPS51\logicalhost\is\lib
2)C:\JavaCAPS51\logicalhost\is\domains\test\lib
Steps i have followed as per JDBC-ODBC -eway user guide doc.
1) Created USerDefined OTD and added necessary fields
2) Created JDBC OTD.
3) Created JAVA collaboration and do business process for inserting
4) Mapped all components by creating in Connectivity MAp
5) created necessary external systems in envrionment explorer.[JDBC External System and File External System]
6)Created Deployment profile
5) Deployed it.
After deploying it gives error as
java.sql.SQLException: Error in allocating a connection. Cause: Physical Connection doesn't exist
Please let me know the solution for problem.
Message was edited by:
VenkateshSampoornamIn the environment definition,
-> External Application JDBC
-> Properties
-> Outbound JDBC Connection
You have the database URL in the "DriverProperties" field
Valid URL would be : jdbc:mysql://localhost:3306/caps
!! The doc says that this field is optional !! Seems to be an error in the doc:
Hope this helps
Seb -
Could not create pool connection with MySql
When starting weblogic server I obtain the following error message when the conection
pool for a MySql database should be established. What's the mistake I am doing? #The
examples in the weblogic.properties put a "server=DEMO to the props. What is this
server related to the MySql RDBMS? Is it mandatory? After the error message produced
by Weblogic you'll find some information about the MySql setup (my.ini) I have made.
Mi Mai 01 01:33:50 CEST 2002:<I> <WebLogicServer> Invoking main-style startup weblogic.jdbc.common.internal.JdbcStartup
weblogic.jdbc.common.internal.JdbcStartup
Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Creating connection pool ejbTestPool
with:
{aclName=weblogic.jdbc.connectionPool.ejbTestPool, maxCapacity=2, initialCapacity=1,
url=jdbc:mysql://Blizzard:3306/ejbTest, props=user=du-it;password=du-it;server=3.23.4
9-nt, capacityIncrement=1, driver=org.gjt.mm.mysql.Driver, poolName=ejbTestPool}
Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Sleeping in createResource()
Mi Mai 01 01:33:51 CEST 2002:<E> <JDBC Pool> Failed to create connection pool "ejbTes
tPool"
weblogic.common.ResourceException: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Invalid authorization specification: Access denied for user:
du-it@blizzard' (Using password: YES)
at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:278)
at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
onEnvFactory.java:146)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
onEnvFactory.java:108)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
.java:771)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
16)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
30)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
onEnvFactory.java:154)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
onEnvFactory.java:108)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
.java:771)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
16)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
30)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
onEnvFactory.java:124)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
.java:771)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
16)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
30)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
MySql:
#This File was made using the WinMySQLAdmin 1.4 Tool
#29.04.2002 14:46:57
#Uncomment or Add only the keys that you know how works.
#Read the MySQL Manual for instructions
[mysqld]
basedir=D:/db/mysql
#bind-address=169.254.102.136
datadir=D:/db/mysql/data
#anguage=D:/db/mysql/share/german
#slow query log#=
#tmpdir#=
port=3306
#set-variable=key_buffer=16M
[WinMySQLadmin]
Server=D:/db/mysql/bin/mysqld-nt.exe
user=du-it
password=du-itWhen starting weblogic server I obtain the following error message when the conection
pool for a MySql database should be established. What's the mistake I am doing? #The
examples in the weblogic.properties put a "server=DEMO to the props. What is this
server related to the MySql RDBMS? Is it mandatory? After the error message produced
by Weblogic you'll find some information about the MySql setup (my.ini) I have made.
Mi Mai 01 01:33:50 CEST 2002:<I> <WebLogicServer> Invoking main-style startup weblogic.jdbc.common.internal.JdbcStartup
weblogic.jdbc.common.internal.JdbcStartup
Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Creating connection pool ejbTestPool
with:
{aclName=weblogic.jdbc.connectionPool.ejbTestPool, maxCapacity=2, initialCapacity=1,
url=jdbc:mysql://Blizzard:3306/ejbTest, props=user=du-it;password=du-it;server=3.23.4
9-nt, capacityIncrement=1, driver=org.gjt.mm.mysql.Driver, poolName=ejbTestPool}
Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Sleeping in createResource()
Mi Mai 01 01:33:51 CEST 2002:<E> <JDBC Pool> Failed to create connection pool "ejbTes
tPool"
weblogic.common.ResourceException: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Invalid authorization specification: Access denied for user:
du-it@blizzard' (Using password: YES)
at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:278)
at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
onEnvFactory.java:146)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
onEnvFactory.java:108)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
.java:771)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
16)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
30)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
onEnvFactory.java:154)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
onEnvFactory.java:108)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
.java:771)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
16)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
30)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
onEnvFactory.java:124)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
.java:771)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
16)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
30)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
MySql:
#This File was made using the WinMySQLAdmin 1.4 Tool
#29.04.2002 14:46:57
#Uncomment or Add only the keys that you know how works.
#Read the MySQL Manual for instructions
[mysqld]
basedir=D:/db/mysql
#bind-address=169.254.102.136
datadir=D:/db/mysql/data
#anguage=D:/db/mysql/share/german
#slow query log#=
#tmpdir#=
port=3306
#set-variable=key_buffer=16M
[WinMySQLadmin]
Server=D:/db/mysql/bin/mysqld-nt.exe
user=du-it
password=du-it -
How to connect mySQL database with jdbc
Who can tell me how to connect mySQL database with jdbc? Thanks
http://onesearch.sun.com/search/developers/index.jsp?and=connect+mysql&nh=10&phr=&qt=¬=&field=title&since=&col=devforums&rf=0&Search.x=24&Search.y=16
-
How to connect MySql database with JSP
Dear everyone,
how to connect MySql database with JSP......It's too bad that nobody has ever asked this question before...
-
What's wrong with this MySQL connection? "Could not create connection to database server"
I'm able to connect to other MySQL databases but this one particular remote MySQL connection isn't working and I cannot figure it out. It probably has something to do with the remote server, not CF, but I thought I'd post it here if anyone had an idea. The MySQL account has full priviledges.
Here is the message when I try to validate the data source:
Connection verification failed for data source: test
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
The root cause was that: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.This happened on two servers. One one, the cause was that skip-networking was turned on. In the other situation, it appears that the database name was case sensitive, so TEST was not the same as test. Even though I edited the data source in the CF administrator, it still didn't work (very misleading). When a coworker entered a new data source with the same information (uppercase database name this time from the start), it worked.
Has anyone else seen this problem with the case sensitive database names? And with the data source in CF not updating the case correctly? Seems like a bug in CF.
Maybe you are looking for
-
How to connect Apple TV to other users at the internet
Can anyone tell me if I can share a iTunes libary with a friend/brother who also have direct ADSL connection to the internet? We both have a Apple TV device and iTunes, and would like to share the contens with each other. I have already tried the net
-
Hi ! Got problems with starting "parted" (version 2.2-1) [root@system me]# parted parted: /lib/libblkid.so.1: version `BLKID_2.17' not found (required by /usr/lib/libparted.so.0) My system is up to date (updated with "pacman -Syu" 22:25 today) , exce
-
How do you rotate a pdf document in preview?
There is a book where the double pages are turned. How do you rotate them so that you can read them in preview?
-
I just wanted to know whether any Grid form is available in JSP to display the result from the database as we do in VB.
-
Embed external HTML page in Flash
Does anybody know how to embed an external HTML page into Flash? I am envisioning something like an iFrame, but can't really figure how this would work. I've attempted using a scrollpane, but it didn't work at all. Any suggestions?