How can I host a single MySQL database on multiple servers? [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am newbie to programming. But I am going to work on a website that will have millions of records and huge traffic and I want to load balance my database of application server.
How can I create an application in PHP? and how can I distribute a single database on to multiple servers?

You should check out Hadoop. That is a very fine example of a distributed database system.
http://hadoop.apache.org/

I don't think you'll get a detailed explanation here, as that kind of thing is quite complex. You may want to check out MySQL Cluster.

Related

Configurations for a php application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Well am creating a php based application therefore I wish to accompany it with a configuration file. However the configuration will have a few variables which will be updated once in a while.
Therefore how can I read a file and update a specific variable in it?
It's common to define your own configuration in .ini files and parse them with parse_ini_file()

ERROR 1030 (HY000): Got error -1 from storage engine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
When I try to insert data into MySQL database I got this error:
Error Msg
#1030 - Got error -1 from storage engine
What could be the problem?
The first thing you do is check whether you are out of disk space.This error probably means you don't have enough memory for allocating to your table or database, or the specified memory settings for MySQL are too high for the configuration of your machine.
the following link may be useful to you http://wiki.jumpbox.com/doc/runtime/faq/mysql_maintenance

How to Download 4 files at a time [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How to Download 4 files at a time which are stored in database? It is combination of pdf,png,jpg,jpeg files. I want to download all the four files on a click on download button.
Create a .zip file using php, then once you have the 1 file, link to it so that the user can right click-download as or something similar.
This way, it be faster than downloading 4 separate files.
(link found on Google, i'm sure there are better tutorials out there, but google really is your friend).

How to dynamically create a sub-domain from a simple webpage? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
What is the best way to create the sub-domain automatically from PHP. I want to develop a application in php in which a user can automatically create a sub-domain from my domain if he/she fills the registration form sucessfully.
Set up wildcard DNS for your subdomains (how you do this depends on your DNS server (or service provider)).
Configure your HTTP server so that your default virtual host will get everything from the wild carded DNS (how you do this depends on your HTTP server).
Pay attention to $_SERVER['HTTP_HOST'] in your script.

Sending Longitude, Latitude & Phone Number to mysql database - Android [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
I have made an app which already recieves the longitude latitude and phone number.
I need to store these in a mysql database and I have no experience with mysql and php.
Can anyone please help me, maybe with some tutorials.
You need to create MySql Database on a server and call Web service to add that data on the server using Php.
Look at this tutorial . Here you can find how to send and receive data using php web service.
http://www.codeproject.com/Articles/267023/Send-and-receive-json-between-android-and-php

Categories