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.





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 Complete Forum Thread with Replies

Related Forum Messages:
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 Replies !
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 !
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 !
Database From A Localhost (local Machine) To A Server
i've setup a web page using MySQL5.0, Apache and Php.. i've finish the webpage but im facing a probs in uploading the database to the server.. i dont even know where the database are stored in my local machine and how will i transfer to the server. My hosting have My SQL 4.1.22-standard and phpmyadmin but to SSH acces..

View Replies !
Transfering Database From Local System To Live Server
I have a site running locally on my notebook and I copied my site to a live server. I have no problem getting the PHP & HTML files to the server, but i'm not sure how I can move the database and data to the live server. Can I copy a file to the live server like I can with an MS ACCESS database? Or do I need to recreate the whole database on the live server and somehow figure out how to transfer the data?

View Replies !
Copy/move Mysql Data From Local Machine To Remote Server Database
I have an website that is host on web server and here have a database that have only one table name is "user" Table fields are:
name
Id no
email
phone

And I am using same site in my local machine. I always use my local machine for data entry and everyday end of the day I want to transfer data by clicking one button from my local machine database table to my remote server website database table.

How can I transfer data from my local machine database table to my remote server website database table.

View Replies !
Reg MySQL Server Work As Local Network Or Remote Server
I installed mysql-5.0.51b-win32 version.How to configure in MySQL server work as local network or remote server.PostgreSQL we did configuration in pghba.conf host all all 0.0.0.0 0.0.0.0 md5.How we can do settings in MySQL 5.0 server.

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 !
Local MySQL Server
I keep getting this error everytime i try to use Mysql on my FreeBSD 5.4. I cant locate '/tmp/mysql.sock' nor my.cnf.

View Replies !
Cms Site Lo My Local Server
i'm having problem running my cms in my local server, i've downloaded our company sms from our remote webhosting server and tried running it in my local server but a lot of errors popped-up? like:
in index: Notice: Undefined index: pagsanjan_cookie in C:Program FilesApache GroupApache2htdocspagsanjanindex.php on line 568

and what's worst is as i logged in try to modify contents through its php cms alot of errors would pop up like: Notice: Undefined index: fcategory in C:Program FilesApache GroupApache2htdocspagsanjanDynamiclist.php on line 65

Notice: Undefined variable: sqlstring_temp in C:Program FilesApache GroupApache2htdocspagsanjanDynamiclist.php on line 118

View Replies !
Choosing The Right Local Server
i seem to have a problem with connecting to the database on everything i try! At the moment I am trying to connect moodle to my MySQL database. I want the MySQL host to be pcol-webtest - as this is the server host - not locahost at all.

How do I change the host, do I have to set the database data directory onto that host?

Through MySQL Administrator its telling me the following:

Connected to MySQL Server Instance

Username: mooldeadmin (set this in command line)
Hostname: localhost
Port: 3306

Server Info

MySQL version: MySQL 4.1.10-nt via TCP/IP
Network Name: pcol-webtest
IP: 212.219.110.235
OS: Windows 2k

View Replies !
Server On The Local Network
I am new to mySQL and am studing computer sciences.

For a project we need to create a database, upload it to server provided by the university and access the database via an application from any computer on the university network.

My question is how do I upload the sql file to the server??

I tested the database on my pc(localhost) and it worked.

Now I tried to upload it onto the server. I did the following:

opened command prompt and went to the mysql monitor.
I entered the command: mysql -h (the server address) -u (username) -p
Then I pressed enter and entered the password
I got a massage that said that I am connected to the server.

Now I don't know what to do. I have the sql file that needs to be uploaded to the sever, but I am not familiar with sql commands. I have searched on google, but nothing they gave me worked.

View Replies !
Going Worldwide : From Local To Server
I've been using MySQL for a couple of months now. I've only used it for one project, which I've developed locally on Apache installed on my Powerbook. Now I want to transfer the database to a server (to which I have full access) - how can I do that? I've been using Terminal and CocoaMySQL so far.

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 !
Connect To Local MySQL Server
I am trying to connect to our
remote MySQL server (which is running just fine). I have a perl script
which
worked just fine on my other Fedora 4 box (all servers are Fedora 4
with
latests updates). The one that worked fine it down and I cannot
compare
anything against it (it was a client also).

My problem is, when I try to connect to the server I get:

DBI connect('passwd','user',...) failed: Can't connect to local MySQL
server through socket '/var/lib/mysql/mysql.sock' (2) at
/home/perl_inc/mysql.pl line 19

I read all the articles I could on the subject talking about how
mysql.sock was in
/tmp and linking it etc, but on my system I did:

find / -name 'mysql.sock'

and cannot find it anywhere on my system.

My question is, on the mysql client, is there always a mysql.sock file?

View Replies !
Cannot Connect To My Local Server --standalone
I have a problem to connect to my local server:

After I have done:

c:mysqlin>mysqld --standalone

I try:

C:mysqlin>mysql
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

View Replies !
Can't Connect To Local MySQL Server... :(
My site is getting very busy and I keep getting this error every few times I visit my site. I just hit refresh and the site loads, but how can I avoid this error from coming up? Do I need a separate mysql server? Or apache has too high loads? What is causing this?

PHP

Warning:  mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in

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 !
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 !
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 !
Can't Connect To MySql Server On Local Host
When I installed MySql on the Windows 2000 Proffessional ,it works
fine.But I followed the same installation steps in Windows 2k Advanced
Server.It gives me this error "can't connect to MySql server on local
host".It says failed to start service . I couldn't find any mysqld.exe
file in the processes list of the Task manager window.

Please tell me
steps to get mysqld.exe file appear on the task manager. Kindly let me
know the way to get mysql running.I have the Operating System on E:
drive of my computer.

View Replies !
Best Way To Move Data Between Internet And Local Server?
I want to be able to update my Internet server data with local data or
back up data to my local, what is the best way. Does just copying
mysql folders via ftp work?

View Replies !
Works On Local Server, But Does Not Work On-line
This query works off-line but as I run it on-line I get the ERROR

PHP Code: .....

View Replies !
Choosing A Version Of MySQL For Local Web Server
In the process of setting up a localhost web server to test things before I put them on my shared host server. Mostly I'm just dabbling - not making a living at it.

My server is Apache 2.2.3 with PHP 5.2.0 on WinXP-Pro. What version of MySQL is most compatible with these versions of server software? Can someone point me to an installation how-to doc? Would also appreciate pointers to pages I should read to familiarize myself with MySQL. I've dabbled with dbs's as standalone apps but never used one on a server before.

View Replies !
Can't Connect To Local MySQL Server Through Socket
I am running ubuntu 8.10 with mysql server 5.0.67ubuntu6.

When I try to login locally I get the following error:

glen@glen-laptop:~$ mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
glen@glen-laptop:~$

It looks like the mysql daemon is not running. When I try to run it I get the following error:

glen@glen-laptop:~$ sudo /etc/init.d/mysql restart
[sudo] password for glen:
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [fail]
glen@glen-laptop:~$

I use to have this working fine. But I have somehow managed to break it. I have tried purging mysql and re installing it but I still get the error?

View Replies !
Can't Connect To MySQL Server On Local Machine
am following along in Head First's PHP & MySQL book, at chapter 2. I've downloaded PHP, MySQL, and Apache. A couple basic scripts have worked fine, so I know PHP is working. I can create a table and a database in MySQL throught the command line window, so that seems good. But I'm trying to execute an INSERT function on the example table that the book had me make, using a script, and I'm getting "Error connecting to the MySQL server" which is the or die error message I used for failure to connect.

In setting up MySQL, I was prompted for a password but not a username. So I'm trying to leave the username data blank in the mysqli_connect function. I wonder if this is my problem? I've looked through my.ini but to my untrained eye it's all Greek and I can't spot usernames or passwords there, or in any of the other .ini files in the MySQL folder. If I need a password, can anyone tell me how to find out what it is? Here's how I wrote the connect function (username is blank, surrounded by single quotes):

$dbc = mysqli_connect('localhost', '', 'password_here', 'databasename_here')
or die('Error connecting to MySQL database.');

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 !
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 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 !
Phpmyadmin :: Cant Connect To Local Mysql Server Through Socket
i have recently installed & config'd mysql all seems to be fine with command line, however i have installed phpmyadmin and keep getting complaints about

'cant connect to local mysql server through socket /..blah/..blah'

i have checked the php.ini file and everything seems to be in order i have been using webmin with no complaints, but would prefer to use phpmyadmin.

View Replies !
Can't Connect To Local MySQL Server Through Socket On Ubuntu
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

when i give mysql databasename it displaying the following error:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

View Replies !
Exporting From PhpMyAdmin On Server To MAMP On Local Machine
I thought that transferring the database from the server to my hard drive and working with it using MAMP would be fairly simple, but I am lost on the options and get:

Error
SQL query:

-- phpMyAdmin SQL Dump
-- version 2.9.2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jan 22, 2008 at 11:02 PM
-- Server version: 5.0.27
-- PHP Version: 5.2.1
--
-- Database: `trumpet`
--
-- --------------------------------------------------------
--
-- Table structure for table `articles`
--
CREATE TABLE `articles` (

... etc. ...

) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =15;


MySQL said:

#1046 - No database selected

Could someone give me some guidance on how to get the database to my hard drive so I can develop locally rather than via the internet?

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 !
ERROR 2002: Can't Connect To Local MySQL Server Through Socket
i get this when i do '/etc/rc.d/rc.mysql start'

ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)

ive had a look on google, and the problem for most people seems to be permissions, but im running as root, and the socket doesn't exist. It doesn't create the socket when it runs, because i tried putting mysql in the root user group.

i do have a script that clears the /tmp on login, but i dont think that would affect it,

View Replies !
Error 2002: Cant Connect To Local MySQL Server Through Socket
Well that's the error I'm getting when trying to connect to my MySQL database, more specifically:

Error 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

I know the PHP is fine because it's a straight copy and paste from a site I wrote before that's working fine (on the same host as well no less), anyway I did a bit of Googling and all the results that came up said that it's a configuration issue and can be resolved in several ways (mysql daemon, the my.cnf file etc etc) only problem is I'm on a shared hosting service so I don't have access to this.

Does anyone know of any other potential cause to this problem other than configuration issues or is it just a call up the host deal?

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 !
ERROR 2002: Can't Connect To Local MySQL Server Through Socket (Debian)
I'm running debian 3.1 unstable. MySQL was working fine for a long time. Then I started getting this error:

ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I tried uninstalling, and reinstalling. Still getting the same error.

View Replies !
Open Local Database
I have a file called local.db. I suspect that this is a MySQL database. How do I verify this and how do I open it? I have installed the Administration tool and the MySQL server database on my local machine.

View Replies !
Setting Local Database Location
I use Adobe GoLive for web dev and am now incorporating PHP scripting and MySQL databases. Everything works really well as far as functionality (first time using GoLive for dynamic site dev) but I'd like to have the MySQL database file for the site reside somewhere in the directory structure that GoLive sets up as opposed to the default location set in the MySQL .ini file.

If I'm developing multiple websites, each with a MySQL database, how do I set things up such that each website's database resides in a different directory?

View Replies !

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