Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MYSQL


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Upload MySQL Database To A Unix Server - What Path To Upload To?


I am going to upload a MySQL database to a Unix server. However, what path do I upload to?
Something makes me thing /var?




View Complete Forum Thread with Replies

Related Forum Messages:
Upload A MySQL Database To Server
I need to upload a mySQL database at least once a week to a commercial ISP, which means that I DON'T have access to their mySQL databases directly; i.e., I can't upload the actual mySQL database file. What is the fastest method for uploading a mySQL database in this environment.

View Replies !
How Can I Upload My Database From Local Pc To Server
I got a problem when I tried to upload MYSQL database. I don't have any idea how to upload it. It is my first time to do it. I already upload the pages from my local pc to server with Bulletproof FTP transfer and now I want to upload my database. For now I am using vertrigoServ 2.15 and I found my database in folder path C:Program FilesVertrigoServ2Mysqldatamydatabase. And I want it to transfer to my server.

Do I need to install special software to fix my problem?
Do I need to install MYSQL and php5 to my server?

If there is any one who can give me detailed information, please make it clear and more detail b/se I don't have any idea how to upload database.

View Replies !
Upload A Large Database To A New Server?
I have been developing a web app on my local server and i am now trying to import a large database (1.7million rows) to the production server. i have exported it using phpmyadmin, no worries but i can only upload a tiny 8mb to the productions server (hosted with one and one). i emailed them but changing php.ini or .htaccess files doesnt help as the database is hosted on a different server to the php files to which i have access.I considered writing a script to step through the rows on my localhost and post them like form data to the new site, then writing a script to insert them from the new server, but with 1. 7 million rows, this will take forever, and i'm not entirely confident about this idea at all.

View Replies !
Upload MySql To The Server
how to upload mysql database onto the server? I was told to use phpmyadmin on the server to upload it. However I used FTP to upload the php files and do not know where to upload the database.

View Replies !
PHP Upload MySQL Server Has Gone Away
I created an upload script which works fine with smaller files. When I try to upload a larger file I get MySQL server has gone away.

I did a little research and saw that it may be the max_allowed_packet size on the MySQL server so I set it to 160000000, but I still get the same error.

View Replies !
Upload MySQL Database
I have prepared my mySQL db in my local machin. I want to upload the DB with all the tables and data in my webserver.

View Replies !
XLS/CSV Data Need To Upload MYSQL Database
I want to upload XLS/CSV huge data (90,000 rows in a XLS/CSV file) into MYSQL database.

I want to use only Import option of phpmyadmin to upload XLS/CSV files. How can i to do/proceed such task using this graphical interface (without php script).

View Replies !
How To Upload Image Into Mysql Database
how to upload image into mysql database. my insert.php can move the uploaded images into upload directory(public_html/Upload). Now how can I have the SQL statement to insert the images from upload directory into the bob field ? I use the sql statement: Code:

View Replies !
Upload And Fetch Images From MySQL Database
I want to upload nearly 10 million small images pertaining to some database into a mySQL database. Is there any way I can do this using Shell Scripts. Subsequently, I want to fetch the records based on specific conditions using a web based form. The images are in tiff format. Can someone pls help?
The table structure would be :
ID_Number -- varchar(10)
SIgn_Image -- ?? (less than 50 KB).

View Replies !
Can I Upload A MYSQL Database To My Free Web Hosting Space?
I have a domain with awardspace.com which has php and MYSQL enabled.

I am a newbie and not quite sure how to set it all up or if it's even possible with the Database I've created on my desktop.

When I go to the Database Manager in the administrator section it has a spot to create a database,and confirm a password. From there I take it you would use the PHPMyAdmin to alter the database.

Can I just upload a database using an FTP manager like Dreamweaver, or do I need to start from scratch and create the database on this server. If so is there a way to eventually download it so I don't lose any of the information in it.

View Replies !
How To Upload Database
This may sound like a silly question, but i m working with mysql and php for the 1st time.
After creating the website, how does one upload the mysql database on the webhost? can i upload through mysql administrator? what type of file does one upload? basically i have no clue.
Also can i store non-english text in mysql? will i be able to show it on the web page? what if the user doesn't have the specific font i use.

View Replies !
Upload Database
I create a database in my pc. now i need to upload it to remote server(I use third party hosting companies), but I don't know how to do that!!?
I have mysql admin software and also I know the command:mysql dump may help,

View Replies !
Upload My Database
Im an absolute beginner with mysql and have successfully setup and have working a licensed copy of VBulletin of which I have uploaded the php files for, but not the database.I am completely lost here. How do I upload the mysql database to the web server?

View Replies !
Database Upload Problem
I'm trying to upload my MySQL database to my host.
My host is using MySQL version 4.0.17, and I'm using version 4.1.8.

When I use the "gzipped" compression option to save the database from within phpmyadmin (to create a .gz file for upload), the upload process finds fault with the first line:

CREATE DATABASE `database` DEFAULT CHARACTER SET latin1 COLLATE latin1_general_ci;

I've been told on this forum (by Guelphdad (Dave L.)) that the problem results from the COLLATE clause which didn't come in to MySQL until release 4.1.

So I'm trying to use the 'none' compression option. This causes DirectAdmin on my host to report:

Success!

Details

Database has been successfully Restored

But when I go to check it using phpmyadmin on my host, it reports that there are no files in the database.

View Replies !
Error Upload Database
I've concluded that it is not physically possible to upload a database onto my hosts machine.I persist in trying to prove otherwise.

Why would I get the error message:

Error Restoring database. That database is not yours.
from DirectAdmin? From within DirectAdmin on my host, I'm not logged in as ANY database user surely? There's no database there yet!! What priviliges need to set up on my computer to allow me to export it?

View Replies !
Upload Data From .txt To Database
how to upload data from a .txt file deliminated by ~ to a table in MySql database.

View Replies !
Upload Database To WebServer
New to mysql and running it on XP Pro, server ver 4.0.2, client ver 5.0.I've created a database which is used on my website, when I test it locally it all works fine, but I need to upload it to a linux webserver which hosts my site. My ISP says they don't know the extensions .frm .myd and myi. They say I need a text file of my database to upload. How do I create a text file and why cannot the linux server read the extensions? Is it because they were created on a windows machine?

View Replies !
How To Upload Database To Host
I have a database 'foo' on my local machine that I would like to upload to a server where my website is hosted. How can I do that?

View Replies !
How To Upload Database To WordPress?
I just recently bought a website and I’m having a problem with the website not showing up.

I installed Wordpress through Fantastico, dropped the tables in MyPhpAdmin and imported the SQL file sent by the seller. All went smoothly but when I visit the address, nothing shows up.

Is there something I missed? Should I install manually? Should I add the database first before installing Wordpress?

View Replies !
Upload File Contents To Database Using C API
What I am trying to do is to take the contents of a very large text
file and place it into a LONGTEXT field in a database. I am looking
for a solution using the C API to help me handle this. The code I use
right now is very ineffecient. I basically use a VERY large character
array that is like 600,000 characters long and store an UPDATE query to
the database in this. I place the contents of the file being uploaded
into this query where I SET the LONGTEXT field to the file contents. I
know there has to be a much better way of handling this, so if you have
any ideas, please let me know.

View Replies !
Upload Mp3 File And Info Into Database
I decided to create a directory on my server to store the mp3 files instead and then to store the files path in the mysql

so I would first create the table like this


$sql = CREATE TABLE mp3_files (
id int NOT NULL AUTO_INCREMENT Primary Key,
Song Name VARCHAR,
Artist Artist VARCHAR ,
Release_Date date,
Additional Notes VARCHAR,
Path ?? );


where "Path" would it me VARCHAR type?? and how would I store the absolute path of the file using PHP

Lets say I had a folder called MP3_Files on my server that would contain all my mp3 files and I uploaded an mp3 song called big poppa? How would I store this location so that when

View Replies !
Beginner: How Do I Upload A .sql File To My Database?
I searched about the forum for this, but it only came up with issues of people have problems with uploading a database through phpMyAdmin that was too large. I don't have this problem (I don't think, the file is 7,000 KB), my problem is, I am completely lost in this area.

The instruction for the files I have read as: 'Upload the database database.sql to the mysql database.'

I presume I use phpMyAdmin for this? So I log into it, I have my fresh database created, I have all my details, dbname dbpass etc at hand... ha... now what?

Do I have to upload the .sql file to my webspace through my FTP? Do I need a command line to type into the phpMyAdmin thing? Something else?

Anything I have ever used previously, such a forums auto-created the databases for me or did whatever it needed to!



View Replies !
Upload To MySQL
Can Excel file be directly uploaded to MySQL? If so then how?

View Replies !
How To Upload MYSQL To Webserver
I have made several website using MS Access and asp. Now I need to upgrade
from Accesss to MYSQL -

I got my website working with MYSQL on my local PC - but now the problem is
how I get it working on my webhost . I have the right connecting string (
according to webhotels supporter) but how do I transfer my SQL database from
local pc to server..?? With MS Access it was very straight forward - I just
uploaded my .MDB file to my DB folder om the server.

How does this work with MYSQL - on the local pc my tables are stored in
C:mysqldata est

What I did was - uploading the folder 'test' (including the tables .FRM
files ) to my BD folder on the webserver . But I cant make it work - There
is no database called 'test' showed at the webhotel ...


View Replies !
File Upload To MySql
I have a database with horse racing tips in it and the fields are Date, Time, Course, Horse, Odds in a table called Results.
I currently upload the tips each day via phpmyadmin using a .csv file with the data in it.I want to have a page on my site where I can just upload the .csv file quickly each morning.If there a simple PHP script anyone knows of to do this?

View Replies !
MySQL Upload Table
I have a database which we run in the office but on a daily basis there is one table which needs to be transferred to our public facing website with info from the days office based work.

The Office server is XP with Apache. I use a scheduled task to take the database table i need out and copy it to a backed up drive (just in case) then ftp it up to the web based server (public). The .sql file needs to be run on the server.

The public server is a LINUX system with some crontabs running. I have complete control over this server from an SSH level.

I simply do the following:-

mysql -u username -p
enter password
use dbinv(the database)
source > table.sql

Question is how do I set up crontab for this? what is the command line syntax to put into the crontab job line??

View Replies !
MySQL Upload Small Files
I'm uploading small files (>10K) and mysql is deleting it. The one field is a blob field and everytime i test upload a file thru phpMyAdmin within 2 seconds mysql deletes the row. Theres nothing in mysqld.log, there another log i should be checking out?

View Replies !
Upload .mdb Access Data Into MySQL Table
I'm new to mySQL, but used to SQL Server.....which I'd be using DTS for this whole process. I'm glad to have to learn to do it with mySQL though.

I have an Access .mdb file, that I need to upload from my local machine to our hosted mySQL site via BlueHost.

I'll be using phpMyAdmin. It looks like the only way is to import into an existing table is from a text file.

Are there any other ways to take the .mdb file and copy it up, and into the mySQL table?

I got a converter tool, Access2MySQLPro 5, which has 10 trial conversions. Didn't know if anyone else has better ideas?

Basically, I want to take this .mdb file data and put it on the mySQL table.

View Replies !
Upload
what is the best way to upload big database
to internet server?

View Replies !
Cannot Upload
I am uploading Excel.csv to mySQL using phpMyAdmin. I've done it many times before with no problems.

Got a single table with 18 columns and 137 rows. One of those columns has quite a bit of HTML in it to create a particular table for each of the 137 item.

The table data uploads EXCEPT for one column ... it's a price column. Simple 2 decimal prices.

I cannot get that column to upload?

The only other time I had a similar problem was with a date column. That was a date format issue that I fixed without a problem.

View Replies !
How Do I Upload?
I need to know how I upload files of any kind on the server. Also how can i install files on the server.

* a JPG you want to put in one cell of one row? (I already know what JPG is)
* XML structure with data? (I don't know what XML is)
* a csv file used to populate lots of rows? (I don't know what CSV is)

View Replies !
Binary Upload
i like to upload blob-data to MySQl database with this command:

insert into files (f_name, f_binary, f_date, t_id) values ('musik2', LOAD_FILE('C:/Dokumente und Einstellungen/wolfgang.RE-MSQDW1NI9MBG/data/Neuer Ordner/a.mp3'), 2004-12-12, 1)

MySQl states Error: 1048 Column 'f_binary' can not be null

As I wasn't able to figure out my mistake in the commmand I created a txt-file a a.txt and doing the same command with this file - and this works.


View Replies !
Upload 50 MB Db Script
I have exported DB script from MySQL database. Its size is 50 MB. Now I want to upload this script data into another MySQL databse. But It gives me time execution error when I try to upload through PHPMyAdmin web interface.

View Replies !
Upload SQL File
I bought a database from a friend, he given me a SQL extenstion file and he said just go to your database and Import it. But in my Mysql PHP Myadmin there is not import function what i will do now?

View Replies !
Upload Images
I am completely new to MySQL and have no idea how it works.
I want to be able to have an upload form so people can upload images to a MySQL database I have some script running on. How would I code that and also regulate so it resizes to a specific size when I call it up to show on a "results page"?

Also, I have noticed that the fields that I have in the database seem to be all "required". If I don't input ALL of the fields then nothing is inputted into the database. However, if I do fill out all of the fields in the database then everything is uploaded correctly.What do I have to do in Myphp... to change it so no all of the fields are mandated to allow data entry? Also, I noticed that all of the fields are "NULL" if that means anything.

View Replies !
Upload Datafiles
is there somewhere an option i can increase the limit of 8,192KB per file upload on the SQL import datafile form ?
I saw on many places they have up to 48k

View Replies !
Upload Backup
I am trying to back up my database via phpMyAdmin. I exported the data with no problem to a SQL file. However I am having problems uploading it to the new database. Since the file is large I first uploaded it to my server in a directory that the $cfg['uploadDIr'] parameter in the config.inc.php file is looking in.
In phpMyAdmin I then click on the SQL tab and under the 'web server upload directory' I select the file and hit the 'Go' button. However after a short while I receive the error message "error 500: Internal Server Error - The server encountered an unexpected condition which prevented it from fulfilling the request."
It does work if I upload a small file, but I get the error message when I upload a large file. Any idea why I can't upload a larger file (which is only 930KB)?

View Replies !
Fastest Way To Upload
i have to upload 12M records to a MySQL database. What is the fastest way -- like 20000 per second? I mean if source is a flat file? or if source is a remote db? or if source is a single table only from a different schema??

View Replies !
> 8 Hrs To Upload Data
a brief description of my situation :
1. Have a table with 23 odd fields. During table creation, I declared a 6 key combination primary key.
2. To upload 1.2 million records, I used "LOAD DATA INFILE...etc." & specified the target for the "LOAD INFILE..." statement as my text file which has the 1.2 mil. records.
3. I have waited for more than 8 hrs & the thread is still 'inserting' records into the table! I used SHOW PROCESSLIST to check what the thread is doing..
4. The data is plain & simple VARCHARS & a bunch of DECIMAL types

My queries -
1. Is 8-10 hrs reqd to upload a million records? If not, what am I doing wrong?
2. Should I drop the primary key constraint--> upload the records--> create the constraint again? Will this make the upload faster?why?

View Replies !
Image Upload
The basic question: What field do I use in MySQL to store images? Is it varchar?

My second question: I'm using Dreamweaver MX to talk to my MySQL database using PHP. I can update records, add new records etc.. The only thing I can't figure out is how to create a browse option to look for a image to upload.

View Replies !
Upload Times
I need to upload 2 star catalogues to the mysql database. the first time i tried this i filled up the HD in 2 Days, my instructor mentioned that journalling was taking up most of the space and decided to remove-it.

now, with journalling turned off, i have started re-uploading the catalogues, but have noticed a significant decrease in "write" speed.

my question is, does journalling speed up writing data into mysql tables? i have roughly 180GB of data to upload, and it took me 4 days to upload 3GB's when last time it took me this time to upload 100GB.

View Replies !
Upload Files
how I can upload files to mysql with a form??

View Replies !
Upload Form
I am trying to use this code to insert the file into my dba but am not sure if it works i get errors. I want to create a table, then put the file into the table using a web baised form. If anyone knows how i can create a form to do this or if anyone knows of documentation on how to do this i would be greatful. Below is my code

<?
if(isset($_POST['upload']))
{
$fileName = $_FILES['userfile']['name'];
$tmpName = $_FILES['userfile']['tmp_name'];
$fileSize = $_FILES['userfile']['size'];
$fileType = $_FILES['userfile']['type'];

$fp = fopen($tmpName, 'r+');
$content = fwrite($fp, $fileSize);
$content = fread($fp, $fileSize);
$content = addslashes($content);
fclose($fp);

if(!get_magic_quotes_gpc())
{
$fileName = addslashes($fileName);
}


include 'library/config.php';
include 'library/opendb.php';

// add a table to the selected database
$result="CREATE TABLE userfile (fileName VARCHAR(25), fileSize VARCHAR(25), fileType VARCHAR(15), fileSize VARCHAR(2000))";
if (mysql_query($result)){
echo "success in table creation.";
} else {
echo "no table created.";
}

$query = "INSERT INTO upload (name, size, type, content ) ".
"VALUES ('$fileName', '$fileSize', '$fileType', '$content')";

mysql_query($query) or die('Error, query failed');
include 'library/closedb.php';

echo "<br>File $fileName uploaded<br>";
}
?>
<form action="" method="post" enctype="multipart/form-data" name="uploadform">
<table width="350" border="0" cellpadding="1" cellspacing="1" class="box">
<tr>
<td width="246"><input type="hidden" name="MAX_FILE_SIZE" value="2000000"><input name="userfile" type="file" class="box" id="userfile">
</td>
<td width="80"><input name="upload" type="submit" class="box" id="upload" value=" Upload "></td>
</tr>
</table>
</form>

View Replies !
Upload .mdb Access File
I'd be using DTS for this whole process. I'm glad to have to learn to do it with mySQL though.I have an Access .mdb file, that I need to upload from my local machine to our hosted mySQL site via BlueHost.I'll be using phpMyAdmin. It looks like the only way is to import into an existing table is from a text file.Are there any other ways to take the .mdb file and copy it up, and into the mySQL table?I got a converter tool, Access2MySQLPro 5, which has 10 trial conversions. Didn't know if anyone else has better ideas?

View Replies !
Upload MS Word Files
I have created an upload script to enable people to upload MS Word documents to the MySQL server.

Uploading basic word files with just text in works fine. I am having a problem with uploading files which contain images as well as text. Is the MySQL database not able to receive a mixed text and image file or is there a way round the problem.

View Replies !
How To Upload A Csv Or Excel Spreadsheet?
I'm trying to figure out an efficient way to

1st: create a new database table based on my csv file (which I did a DTS on MS-SQL to get)

2nd: update that table weekly with a new csv file

Any advice?

View Replies !
User Upload Updating Row
Im allowing a user to upload an image to my server picture folderthat is to be uploaded
and viewd in thier member profiles.As it is right now i can not get it to work 100% right
So i am using secind best for now and allowing avatar selections for profiles wich
works like a charm.

in my codes the upload works but it will not load the file path into the row designated
here is the code i been trying. Code:

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved