Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have created a website using xampp(localhost) as one of the project in my college.Now our professor said we have to host it. So i searched for the free hosting websites. I got 000webhost.com as one of the website.I created an account; downloaded FileZilla using which I uploaded all my project folders.
Now I created database on 000webhost.com changing my code accordingly from localhost to server name , root to username; and password.
My Problem is that now how should i create a table for storing data.Because in my actual website ( on my pc using localhost) i created directly using phpmyadmin.
I want to create a single table once and use it again and again for example if a user inputs some details then I need to store their details.
So can anyone please tell me how should i create table directly on 000webhost.com??
Although this question is really off-topic, I am going to answer it anyways.
Your webhost, should -if it supports SQL- provide you with the details for your mysql. So for example, if I had the host host.com, I would connect using their provided data, which could be db.host.com with port 3306. Just put those details instead of localhost to connect.
Then they should have a utility like PHPMyAdmin to manage the database, or you have to get one yourself (there is plenty of SQL managers out there!)
Update: 000webhost apparently has CPanel, on CPanel there should be a MySQL link which takes you to the utility.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I'm fairly new to working with live MySQL database and so I just wanted to ask if it possible to edit and view a google cloud SQL mirror using xampp phpmyadmin? if so may I request a bit of guideline to achieve this task or reference to documentation containing relevant guidance.
Thank you in advance.
Yes, with a SQL GUI like MySQL WorkBench which is free.
You need to provide :
host (this correspond to cloud database public IP address)
database name (you need to create a database inside Google Cloud SQL)
user name (you need to create a user inside Google Cloud SQL, or use root user)
user password
Moreover, you have to authorized your personal public IP address. (Connections tab on Google Cloud SQL)
There is a lot of GUI for SQL database, one of my favorites is TablePlus
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I've designed an android app connected to remote MySQL database using PHP for the purpose of inserting data from the app to the database.
Currently I put PHP file in a local server XAMPP but in this case the server has to be always available so the application could work correctly.
Is there any other places to put or upload the PHP file to be online so anyone can test the application without the need for my local Server to be available.
Note that I can not upload it on the same MySQL database server because it already designed before.
Better solution for this is to implement REST interface on the server side. On the Android side it would be just an implementation of HTTP requests (POST,GET,PUT) and data interpretation. There is no need to use any database connector on the client side.
For the implementation of REST client I would strongly suggest using Volley library(by Google).
Well, I believe what you need is a server that supports PHP. There are many out there. If you are after a free solution, that you can test and people can use at the same time, suggest you , 000webhost.com. I cant say they are amazing etc, but they have what you need. You can send your requests there and allow php to CRUD to mysql DB.
You can use WAMP sever on your system(PC or laptop) and put it online as shown. Just you have to do is to replace the IP from 'localhost' to 'xxx.xx.xx.xx' in your database connection file.
However, if you want your server available for 24 * 7, you can use some free web hosting services like 000webhost.com (and many others. search on google). They give some free space for hosting sites and apps with back end having PHP.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have developed a beautiful website in Drupal 7. During hosting it to main server, I realized that the server doesn't have any database facility in it. It has php support only. I want to host the website here.
I found some converter to convert php into html but this doesn't seems a good choice.
Somebody please tell me the better options for this scenario.
If you had another server or access to another platform that does have Database technology, you could just use that as the database host. They don't have to be located on the same host. Look up services such as: FreeMysql Hosting
A google for "mysql host" would turn up quite a few options
With that said, I'd just move host as earlier suggested
It is apparently possible to use some flat files instead of a database layer but it is not recommanded at all because of many aspects, space, performance, security, etc.... Some people are saying that every single people who has used flat files for BD and/or content management has regretted it in the end.
As choroba said, change provider to get a DB.
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 10 years ago.
Improve this question
I am new to programming field. The company which I work with has assigned me a task to develop a sample project which contains login of members and a forum. I have developed it using mysql, php and apache server. So my question is "how to transfer it onto the LMS server. Should I transfer the project from the server system itself or can I do it through my pc via internet?" My question may look very simple to ask but I am still in the learning stage. Please help me. Thank you..
You need Internet connection in order to connect target server by FTP.
Also you will need to connect MySQL to push your database dump to server.
You can find more information about deployment strategy here.
To transfer all the files you will need an ftp program and the login information for the ftp server on the LMS server.
And for the mysql it depends, the easiest way is if you have a phpMyAdmin interface for it, mot of the time you can find this # http://thesite.com/phpMyAdmin or trough an admin panel.
Then you copy (or export) you mysql database and import it on the new server.
How you go about this exactly depends greatly from platform to platform.
Hope this helps.
To export mysql without phpMyAdmin: http://www.mydigitallife.info/how-to-backup-and-restore-export-and-import-mysql-databases-tutorial/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I've written a web app in PHP and MySQL that permits users to insert orders from a catalog.
The customer now asked me to create a version of the website that runs on the agent's PC even when they are not connected to the Internet. they must insert orders and then, when connected, send the orders to the DB. The agent's webserver has to be synchronized with the product images and previous orders.
Do you know what can I use to obtain this result? I've seen Server2go, but it runs only on Windows. I would like something more portable.
You'll probably need to look at html5 and client-side databases, which you can sync next time a connection is made.
You'll need to do some magic as you won't be running PHP anymore, it will all be on the client machine, so Javascript will probably be your weapon of choice.
server2go looks like it will not synchronize once a connection to the server has been made.
There may be some turn key solutions for this, however, these type of off-line web applications usually require that they be designed with this in mind.
This question offers some more insight on the topic:
Offline web application