I want to fetch the attachments present in the documents of a view in Lotus Notes Application and send them to sql table, can we do that?
Is there any limitations on connecting Domino server and SQL server (eg. they should be present in same lan etc.?)
Yes, you can for instance create a Java agent that uses the MySQL JDBC driver to connect to MySQL. You can then process the required documents and attachments.
Keith Strickland has blogged about using XPages and Java to connect to MySQL. Perhaps this an be useful for you.
The Domino server obviously needs to be able to connect to the MySQL server in terms of network access and authorization to use the MySQL server.
Related
I have my application in Delphi with MySQL as a database. This is a Desktop application with local Database connected using ADO components.
I have another web application done in PHP and MYSQL.
I want to merge both databases and connect the Delphi application to the cloud MySQL database.
Do I need to put all my logic in PHP scripts and access them from Delphi?
How Delphi to cloud connection can be established?
You can use FireDAC to connect to a database located in the cloud, as soon as your provider allows that connectivity.
But exposing you database to the internet is not the best secure architecture. As you suggest yourself with naming it, a much better architecture is REST. The idea is to write server side software - could be PHP - to accept REST requests from a client, execute it (access the database) and send a reply to the client.
Today's, the REST requests are frequently using JSON to pass requests and receive replies. JSON is supported by Delphi. In short, this is an ASCII representation for object properties.
If accessing the database directly is what you really want, look at this video by Stephen Ball showing how to access an MS-SQL database on Azure cloud. This would be pretty well the same with mySQL.
I have a MySQL server database running on Azure. It has already running to store data from my ASPX web apps hosted on Azure also. I have plan to migrate the apps to Java JSF or .net core.
I developed using Tomcat server (in my local pc) and try to connect directly to mySql in Azure. But I always get Communications link failure error.
Is it not allow to connect directly from my local Tomcat server to database in Azure, or something else?
Thank you in advance for the answer.
Yes you can connect from your local tomcat to your azure mysql if you have provided the correct connection string.
Also add your ip in the firewall rules of the sql resource.
I had hosted my site on Azure and my database to azure sql databse but the problem with azure sql database does not support data encryption and for that reason I have to move my sql database to external server.
Now I do not know how I can connect that sql database to azure site?
I found one solution to use service bus but they used WCF console application as a service bus listener which I do not know how to create and host WCF.
I appreciate code sample if anything I need to do in my code or application other than connection string setup.
I have developed a .net 4.0 Windows forms application that is supposed to execute on the client side (all client desktops are windows based with .net 4 framework installed). On the other hand, the server is a Linux server that has a MYSQL database.
I need to know what I need to do in order for my winforms application (on client desktops) to gather/write data from/to the MYSQL database on the server.
Do I need to do some server side programming/scripting in order for the winforms to communicate with the server.
I am new to this, kindly excuse if something sounds 'stupid'.
I am not .net proficient, but most 2 or 3 tiered applications work the same:
In your application, you should have access to a DB driver - like ODBC - which handles the connection with the DB server, sends it all the queries, and receives the results. All you have to do is specify the connection parameters:
DB server address
DB server port
DB user name
DB user password
On the server side, you need to configure the server to accept incoming connections from the client:
setup the DB service: install the DB server and configure it
configure user and database: create the schema, create the user account, populate the tables
setup the network: create the firewall rules to let the DB port open to your client connections
And that should be it. Since you will probably have to download the MySQL odbc connector, I suggest that you also consult its documentation, which provides tutorials and walk-throughs.
I have a hosting account at godaddy ruinning Linux. Is has MySQL. I am creating a J2ME application that runs on android and I was wondering if there is any simpler way to connect from j2me application to my MySQL server?
Is it required to install anything at my server? which I cannot do because of the shared account. Any way to just open the connection, update some data in the MySQL from j2me application?
It is quite simple. You just need to do HTTP application/x-url-form-encoded request on the midlet and set request property to HTTP.POST. Then stream form data as bytes. Receive those post variable using a server side language (i used PHP) like $_POST['var'] and in that server script write MySQL query like insert into .. VALUES.. etc.
I don't know if any DB drivers exist for J2ME. If you can't find them just make layer on the server and implement your own protocol for retrieving data via http or sockets