how to access database from server and my hosting is linux shared hosting [closed] - mysql

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I have an Linux shared hosting space. I am trying to connect through the IP of my hosting space to WORK LIGHT server.set the hosting IP in mysql.Xml file. but am Success fully create a app in localhost its working fine in simulator. when am trying to test the app in android device it didn't access the database. please some body help me how to access the database in device.either I need to purchase VIRTUAL PRIVATE DEDICATED SERVERS to host my app database in those hosting space

Worklight does not work that way.
You need a host machine on top of which you should have either Tomcat, WebSphere or WebSphere Liberty profile installed. On top of this installation you deploy the Worklight Server (read the documentation).
The IP of the server is the IP of the host machine.
When you build your Worklight-based application, you build it with the IP address mentioned above (read the documentation). When launching the app and attempting to connect to the server/invoking an adapter procedure, the attempt will be done against that IP address.
That's called "on-prem", when you setup the server on your own infrastructure.
You do not try to connect your "remote host" to the "local server".
Frankly, I'm not sure what you're trying to do.
Please, stop developing.
Read the documentation, read it.
Knowledge Center: http://www-01.ibm.com/support/knowledgecenter/SSNJXP/welcome.html
Developer Center: https://developer.ibm.com/mobilefirstplatform

Related

Can I Port a local instance of WordPress that is configured as Master for Replication purposes into a hosted environment? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 days ago.
Improve this question
I would like to replicate my WordPress MySQL database as described in the MySQL documentation 5.7 - Replication.
I am attempting to configure an externally hosted instance of Wordpress to act as the Master to a Slave MySQL database hosted on a.n.other platform. Understandably the MySQL .ini file is not visible on the host system, and I am not sure that designating the server id or the Master/Slave status will be available either (if I am wrong about this I will be delighted). I am attempting a solution using WP Data Access, but they are currently locked out of Dropbox and have been for a few days so I am reluctant to commit a vital part of the architecture to them just yet.
Another option has occurred to me - can anyone out there tell me why it wont work (or suggest another solution).
If I were to set up a locally hosted instance of WordPress and configure it to act as Master, and then ported the whole thing to the external host, would the .ini settings etc survive the journey? It may be that these questions are better directed to the host, but their position is that they host WordPress (exclusively) but do not offer any sort of MySQL support.
Have attempted to again access to the .ini file within WordPress's database, with no success.
Have upgraded WP Data Access to Premium, but need a Premium Data Service to connect the host with the other platform and am waiting for the host to get back to me.

How to make sure that MySQL app will work on client's PC even if MySQL isn't installed [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I got windows application with MySQL database. Database will be stored on user's PC only. How to secure that my application will work on every Windows OS even if client doesn't have MySQL installed on his PC - how can I import mysql on user's PC if it's missing?
You choose wrong approach. MySQL database is not suitable to be installed on each customer PC. There have many reasons to this. For example:
customer PC too weak for run MySQL instance,
or may be client PC already have installed MySQL,
or one of thousands another reasons
You can choose MySQL only in client-server architecture: lightweight client application and server with MySQL stored all clients data. This approach demand stable network connection between client to server.
If you want to store all data locally on clients PC - SQLite is right choose.

MySQL Local vs. remote performance [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have a huge problem with MySQL and MariaDB.
When I execute my query on my local machine, I get a decent performance.If I execute my query on remote server (Virtual Server with same config and resource) the performance goes down to about 50% of what I have on my local machine. I have tried several servers (Virtual Servers with same config and resource). I have also tried different client machines.
MariaDB on local machine result:
MariaDB on remote server result:
PLEASE SOMEBODY HELP ME!
Welcome to the world of remote virtual machines.
Your local machine is, well, local, so no network latency comes into play. If instead you use a database server on a remote machine, your operations must travel to the remote machine and back again.
Your local machine is dedicated to your use (I presume it's your personal laptop). Your remote database machine is probably a virtual machine sharing a host with many other virtual machines. So your database server responds more sluggishly to requests.
It's inconvenient reality.
In a production environment, ordinarily a database server connects to the machine running the queries via a very-low-latency gigabit Ethernet or something similar.

Cannot connect to docker container instance on Google compute engine [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I've created a docker automated build using a private github repository containing a web server running on port 8000. I can run it on my OSX box within a fedora 20 VM but when I try to run it using a Google Compute Engine container-optimized image it says the instance is running but I can't connect to it from the browser using the EXTERNAL_IP output by gcloud compute after it creates the instance.
A gist containing additional info is at https://gist.github.com/wrabbit-revisited/758551f4ae9636ea4a9e. Perhaps I'm just using the wrong IP address to access the server. I'm assuming that it's mapping port 8000 to port 80 in the instance.
Brendan Burns on the google+ google-containers had an answer very quickly. It is necessary to authenticate to docker before pulling the build.
https://github.com/GoogleCloudPlatform/kubernetes/blob/d9426f8848883033e771ba1e28f86f624612b0f5/docs/images.md#using-a-private-registry

ejabberd server domain field [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I tried installing ejabberd on my linux 12.04 machine but I am a bit confused as to what goes into the ejabberd server domain field. I put in localhost but when I start, it opens an error page. I installed using a binary file I downloaded from the process one website. Anybody knows what exactly should go into that field? Thank You.
Think of the domain name as the name that will serve you. For example, if you create a xmpp server for domain users inside your company example.com, the domain is example.com, since accounts with which users will be connected user1#example.com, user2 # example . com, etc. ..
A single server can serve different domains ejabberd.
As discussed ppolv, usually coincides with the name of your domain in your network, you can configure as well, for example, the DNS server SRV records required for the XMPP protocol.