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.





Moving Mysql Database From Linux To Windows


I have to move my mysql 5 database from linux to windwos system. Can this be done by moving files from data folder or do I have to dump the data then import it back to new system?




View Complete Forum Thread with Replies

Related Forum Messages:
Moving MySQL From Windows To Linux
Is it possible to develop a database on Windows and then copy it to Linux? In Oracle it's not possible to simply copy the database between platforms, I just wondered if MySQL is the same.

View Replies !
Moving Mysql Database From MAC To Windows
I have to move a database from a MAC with MYSQL to Windows. The MAC has MYSQL 4.0.18 loaded.

The phpmyadmin is not working on MAC machine so I tried to just copy the database files to the Windows machine mysql 4.0.21

After this mysql crashes when I try to open the databases with phpmyadmin.

A popup window appears and called DBUG Test signal Confirming this message causes mysql to fail.
In my phpmyadmin it get the message server not responding.

I also tried to recreate the empty tables on the Windows machine and just copy the .MYD and .MYI files into the Windows machine, leaving the .frm files. This worked on some tables but on others I have corrupted data in it and some tables are shown as in use.

The MAC mysql database does have 2 files that the Windows doesn't. ._.DS_Store and ._DS_Store.

Are the MYSQL files for those 2 system not compatible? If not How can I convert the database files? The database is still working on the MAC so I do not think the database is corrupt.

View Replies !
Can A MySQL Database Be Shared Between Windows And Linux?
I've got Windows and Linux running on my computer, on seperate partitions. I also have a shared partition for stroing files, and can be read and written by either system.

I also have MySQL installed on both systems. When I make changes to the database in Windows, I have to do a dump of the database (or single tables) to a text file on my shared partition. I then have to switch into Linux and load that file into MySQL there. This is a bit of a hassle.

Is it possible to somehow store the database file on the shared partition, and use the same database from both OSes? This would be very convenient, since I wouldn't have to maintain two copies of the same database!

View Replies !
Connect MySQL 3.51 Database Present On Windows From LinuX Machine
MySql database is present on windows O.S. Is it possible to connect this database from LINUX platform which is on same network ?

If it is yes, then how to configure from LINUX machine ?

View Replies !
Using Database In Windows By Linux
I am hosting an intranet on a machine with dual boot in both win98 and
RH9 Linux. the intranet was first set up and running in win98. I have
a mysql database in the win98 . The win98 partition is mounted in
Linux and is accessible. I am duplicating the intranet in Linux. the
HTML pages are accessing from the win98 partition. Is there a way to
use the database as such by the intranet in the Linux.

View Replies !
Sharing Database Tables Between Windows & Linux
I'm new to MySQL (using v4.1) and have a dual boot machine with Windows and Debian Linux (Etch).

My goal is to share a table named "wordpress" between Linux and Windows by storing it on a FAT32 mount (I realise this limits me to 4GB in total).

From what I can see at the moment, the "wordpress" tables live under /var/lib/mysql/wordpress.

Numerous searches have revealed how to backup data, but I haven't seen any clues on how to permanently reloate a database to another location.

View Replies !
Mysql, Linux Or Windows
Does mysql work on windows or it has to be on linux only?

View Replies !
Mysql, Linux Or Windows?
Does mysql work on windows or it has to be on linux only?

View Replies !
Is MySql Syntax Different On Windows Vs. Linux?
On our team, we're working on a database. One copy is on the PC. The other copy is on Linux. I wanted to send a new table to the Linux guy. I went into MySQL Query Browser, did a "Copy CREATE statement to clipboard", and pasted the SQL code into a new email and sent it to my Linux guy. He tells me that the code fails every time. Here's what It looks like:

View Replies !
How To Transfer Mysql Db From Windows To Linux
I m using mysql 5.........in windows and now want to change every thing to linux ...........so how i transfer my old db to linux

View Replies !
Slow Connect Linux To Windows MySql
I have a Linux box with the latest MySql and another box (Windows 2003 Server) with the latest Mysql.

From the unix prompt I do this:
mysql -uroot -pmypass -h windowsserver mydbname

this take about 4 seconds to connect

I do the exact same thing on a windows workstation and its connected instantly.

View Replies !
Access Linux Mysql Server From Windows?
Can I run a Mysql server on a linux box, and access the databases belonging to it over a lan from a machine running windows xp?

View Replies !
Mysql Linux To Mysql Windows
i have been running mysql on rehl4 and now the powers that be want to move the databases to a central windows 2003 server running the windows version of mysql.

how on earth do i import my dump file in the window version? i am familiar with doing it in linux but i cannot figure out the mysql command line tool that comes with the windows package.

View Replies !
Windows Vs Linux
We currently run our MySQL on linux. Could someone advise me on the watch outs on moving MySQL to windows and also if there is any performance loss as a result?

View Replies !
Windows To Linux Server
I am trying to set up a a Mysql driver on a linux server from a windows machine. I get the following error.

[MySQL][ODBC 3.51 Driver]Host '(server number)' is not allowed to connect to this MySQL server

Is it likely that the windows-linux combination is causing a problem here?

View Replies !
Updates Invisible - Windows Only (Linux OK)
I have one Java app writing records to a database (App A) and another,
a Java web application running under Tomcat, displaying the records.
Call this App B.

When I first log into App B and get a connection, all records in the
database at that point get displayed OK.

But after that, any new records inserted by App A do not get displayed
when I refresh (running the query again).

If I log out of App B and log in again, getting a new conection, I see
all the new records.

This behaviour only occurs if I'm running on Windows. If I run the
database on my Linux box with the same application code, new records
inserted by App B are immediately visible to App B with no need to
close the connection and open a new one.

View Replies !
Connection Problem !!! Windows To Linux
I wrote a program application for windows which can add and delete data
from this application, it working fine with my own MySQL install on the
same windows OS.. Now I try to change the connection this dayabase to
the server whihc runnign under linux, and create the same database, same
user and password. But when I connect the error message said:
[MySQL][ODBC 3.51 Driver] Host'219.95.155.119' is not allowed to
connect to this MYSQL Server.

But form the database, I added the host "%", means hsould be allow any
host... anyone can help me on this? the application I wrote will be
using with dynamic IP everytime user dial-up to the internet connect.

View Replies !
Replication On Linux / Windows Operating System
explain abt how to do Mysql 4 replication on linux/windows operating system,

View Replies !
Query Behaving Differently In Windows And Linux
I have a query to find the blog entries that are most commented:

SELECT blog.*, COUNT(blogcomment.id) AS cnt FROM blog, blogComment WHERE blog.ID=blogComment.BLOG_ID GROUP BY blogComment.BLOG_ID ORDER BY cnt DESC

The query works fine on my development machine running Windows mysql 5.0.22 but on my Linux server running the same version of mysql (5.0.22) I get the following error:
#1054 - Unknown column 'blogcomment.id' in 'field list'

Any ideas why it works differently on the two servers? Suggestions on a better written query is ofcourse welcome too

View Replies !
Moving A MySQL Database
I know that you can export the sql to a file, which I have done already. But to make it work on the new server what do I do? Do I just upload it and run the file? Or do I need to SSH it? Or can I write a PHP script to create the database and subsequently insert all the data?

View Replies !
Moving An Existing MySQL Database From
I have an existing database already created on 4.0.25-standard. It is too large to import to my new server via phpmyadmin, so I'm using mysqldump. The new server has MySQL 4.1.12 instead of 4.0.25. I am running this command:

mysqldump -u root -p starfall < smf1 --create-options --compatible=mysql40

but I get this: Code:

View Replies !
Moving Mysql Database To New Host, What Are The Steps?
$txpcfg['host'] = ''; would it be mysql.yourname.com

What would the host be? On my local machine it would be local host...

View Replies !
Moving Database To Separate Drive After I Installed Mysql 5
I am trying to move my db data directory from /var/lib/mysql to /mounted_drive/mysql on a redhat 4 EL box. I am running mysql 5. I found a site with some pretty good instructions but it seems that they may be outdated. Code:

View Replies !
How Do I Create A Database On Linux Machine Running Mysql?
I have an sql script file that is supposed to create
a set of database tables for me. Supposedly I type
the following on my linux box and its all supposed
to work...

mysql (ENTER)
. mysql_dump.sql.txt

When I type myslq <ENTER> I get a command prompt
that looks like this...

mysql>

But I don't know how to change directories from that
command prompt to the directory where mysql_dump.sql.txt
is located. Can someone tell me how to change dirs at
the mysql> prompt?

View Replies !
How To Use A Copy Of A MYSQL 4.1 Database In MYSQL 5 Running On Ubuntu Linux
We had a "permanent world" game server running on an older PC, under Ubuntu 5.10, using a MYSQL 4.1 database to store persistent data for the players, then the hard disk quit. We did back up our data on a regular basis, but didn't use MYSQL to do the backups, we simply copied the MYSQL/data/ folder to disk.

So now we have a new hard disk, with Ubuntu 7.10 and MYSQL 5 installed. We have everything working, in that we have created the appropriate database and, using a simple test module of our game which will create some of the tables if they don't exist in the database, we can store and retrieve data from the database tables. The problem we have is how in the world do we get the data from the backup copy of the MYSQL 4.1 created database into the new MYSQL 5 database correctly? With 4.1 we could copy the contents of the database folder right into the database folder in the /var/lib/MYSQL/ folder, but this procedure didn't work with MYSQL 5. The files seemed to copy, as in the copy operation gave no errors, but we get an error that says the database is unavailable and to make sure the MYSQL server is running - it is, so we're stumped, and our game server is offline.

View Replies !
Which Is The Right Directory To Backup MySQL Database On Linux Opearing System?
Implemented web application using MySQL to maintain inventory of the
office PC's/laptops/Routers/hubs and other stuff, here we are using
MySQL as back-end Database on Linux Operating system. I need to backp
all these Inventory database into CD/Tape/Floppy, which is the right
directory (MySQL database) to backup (incase if the current MySQL
server crashes, then I should be able keep copy of my inventory),

View Replies !
How Can I Access Mysql Database Running On Windows Pc
How can i access mysql database running on windows pc from linux server, on both machine i am using mysql 5 and perl 5.8.8 , ip of windows machine ie. 192.168.0.50 and linux server has 192.168.0.10 on single LAN.

View Replies !
Creating First Database On Mysql 4.0.21 Apache 2.0.52 Windows Xp
started mysqladmin 1.4 then i started mysql monitor by clicking on it in the mysql folder and tried to create a database like this

mysql> create database testdb;

mysql>got error error 1044:access denied for user: '@localhost' to database 'testdb'

do i need to set up a user or is there like a default user sign in i need to do? or some kind of configuration i have missed?

View Replies !
Linux Server V/s Windows Server ( WebServer - LAMP V/s WAMP)
My client wants to use WAMP ( Windows + apache + MySQL + PHP ). But the
site performance is very slow on windows. I dont know the exact
reasons.

I have seen some benchmark details on internet. But still they are not
having concrete facts to support LAMP as a better alternative to WAMP.
Allmost all the search done on google melts down to IIS vs Apache, My
main concern is "Apache on LINUX" v/s "Apache on Windows" and similarly
for PHP/MySQL.

View Replies !
Connecting To Mysql Database Using Windows Command Line
Cant execute command mysql_connect("localhost","admin","admin");

at the Windows command prompt.

I have a priviledged user called admin with a password admin.

I can connect to the database!

I further created a database and a table both called guestbook but I cannot access them using command prompt "connect"

What is missing?

View Replies !
JOIN Issue On WIndows Install But Not Linux Install
I am using MySQL 5.0.15 on windows and cannot run this query:

SELECT a.*,b.name, c.fullname,d.fullname FROM access_authorization a, building b
LEFT JOIN users c ON a.createdby=c.id
LEFT JOIN users d ON a.modifiedby=d.id
WHERE a.sortcode=b.sortcode AND a.sortcode like '1,2,1,6%' LIMIT 0, 25

I receive:
ERROR 1054 (42S22): Unknown column 'a.createdby' in 'on clause'

But this query DOES work under my linux 5.0.0-alpha!

I can modify the SQL Statement to the following and it works fine:

SELECT a.*,b.name, c.fullname,d.fullname FROM access_authorization a
LEFT JOIN users c ON a.createdby=c.id
LEFT JOIN users d ON a.modifiedby=d.id
RIGHT JOIN building b ON a.sortcode=b.sortcode
WHERE a.sortcode like '1,2,1,6%' LIMIT 0, 25 .

View Replies !
Moving Database
I have about a 2 GB Innodb database in MySQL 4.0.12 that I need to move over to a maching that has 5.0.37 installed. Both are WinXP Pro SP2, and on the same subnet LAN.
When I use the MySQLAdmin GUI tool and back up the database on the first machine, it backs up the database and the mysql database fine. When I go to the second machine and run MySQLAdmin GUI tool, it connects to the second machine fine, but when I try to run Restore, and it starts to analyse the backup file, it goes for about 204000 bytes and then says
Please tell me, step-by-step the easiest and best way to move the 4.1.12 database, along with its users and permissions from that machine to the machine running 5.0.37

View Replies !
Moving Sql Database
I'm trying to move my database to another server.

I've so far downloaded the database to a wordpad file on my desktop from the old server. When I try to import it to the new server sql I get the error that's it's to large (Max: 2,048KiB) the file I'm moving is about 2100 ...little to much I guess.

I then tried gziping it and importing it, but then get the error: (You atmysqlted to load file with unsupported compression (application/gzip). Either support for it is not implemented or disabled by your configuration.)

View Replies !
Moving Data From One Database To Another
MySQL - 4.1.20
phpMyAdmin - 2.8.2.4
UNIX
server: localroot via UNIX socket
control panel: Plesk
All of this occurs on same server and same domain

I have 2 databases on the SAME server. I need to take the data from just one table in (let's call it) dbSource, and add that data into a table on dbDestination. The two tables have all of the same fields, same field names, same data types (because one db started out as a copy of the other db). Let's say that the dbDestination has only 5 rows, but the dbSource has 200 rows. So in the end I'd want dbDestination to grow from 5 to 205 rows. I made sure that the ID field (first field, an auto-increment) has no common values between the 2 tables.

I am logged in as (let's say) "user1" now on dbDestination, but when I go into the dbSource I am "user2". I don't log in again or anything, I just use Plesk to navigate to either database, and I originally logged into Plesk as "admin". Both tables have the same name, only the db is different, let's call the tables "Staff". The table has about 30 fields.

From what I saw on the internet sources, it may be something like:

INSERT INTO Staff
SELECT * FROM dbSource..Staff ;

also tried ...SELECT * FROM dbSource.dbo.Staff

(one time I got the error message "#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.staff' at line 2)
another time I got " #1142 - SELECT command denied to user 'user1'@'localhost' for table 'staff' "

View Replies !
Moving Database Queries
I have development server at home which i use to develop my PHP - MySQL code. Recently I finished the database and some pages and I wanted to move it to dedicated server at my provider. I exported whole database using MySQL-Front and imported in on the server without problems using mysql -u root -p < database.sql.

Everything seems to be OK but queries that take 2seconds on my machine takes forever on my dedicated server.Does anyone have an idea what could be the problem?
I'm using 5.0.24a-log at home and 5.0.27-log at dedicated server.

View Replies !
Moving A My SQL Database To A Different Host
I have a number of databases and 3 hosts I am currenlty using. One of the hosts has too much down time and I would like to migrate the database before I address issues with him. I want to get the full structure and content across to my new host which had a much better time on line.

I am using cpanel for access on the new one and Myadmin on the other both have my SQL and php running the interfaces look virtually identical from this persepctive.

If I download from one and upload to the other should I just do a simple download upload operation or do I need to install the database in some way first.

The help I've seen talks about command line access but the interface on each is a bit more WYSIWIG than command line so using the tutorial is proving to be interesting.

View Replies !
Moving Database To A New Sever
I am trying to move my database to a new dedicated server. But when I try to upload it to my server I get this

[root@ root]# mysql -uroot -p quad4 </home/josh/mysql/01.08.2006.sql
Enter password:
ERROR at line 6304:

how can I edit the file to see what the error is? When I try to open the file it maxes out my system resources. What would you suggest to edit this?

View Replies !
Moving Database From One Computer To Another
I glad to be part of this community. The problems I am having is that I need to move the information from a database that I have created on my portable computer to a desktop computer. I zipped the files and then unzipped them in my other pc but the infomarmation was not recognized. I then tried a back up restore and still the same. Is there a way that you can transfer the information without having to recreate the database.

View Replies !
Moving Database To New Machine
I'm trying to relocate my site to a new host and I'm having a lot of trouble moving the database.

I did the export for the old host/database with phpmyadmin. It saved to a txt/sql file with no problems.

When I try to import it into the new host/database I get all kinds of syntax errors.

Then I realized, after purchasing the new host that:

Old host/db = MySQL version 5.0.24a
New host/db = 4.0.27

Is there any way to convert a 5.0 db to 4.0?

View Replies !
Moving Forum That Uses Database
AOn my website that I am busy rebuilding, I have a forum that uses the MySQL database. The current path of the forum is this:

ingwaz.nl/main/ingwaz.nl/berichtenbord/mercuryboard/index.php

Which is obviously way too long, blame it to inexperience when it comes to designing websites :rolleyes: I want the path to become this:

ingwaz.nl/main/berichtenbord/index.php

The question is, can I move the forum from one folder to another without problems or is this going to mess up the linking with the tables in the database?

View Replies !
Moving A Database Between Different Versions
I'm trying to move a database on a server with MySQL 4.1.19 to another with MySQL 4.0.27. Is this possible? I'm getting errors when trying to import the database.

View Replies !
Moving Database To New Server
One of my clients is moving to a new server. The site has a MySQL database, so I need to export it from the current server and then import it to the new server, correct? The current server has PHP Admin for a utility tool, but offers a bunch of settings I have no clue about. What are the appropriate settings to make the trasition to the new server as quickly and easily as possible? See attached image.

View Replies !
Moving Partition To Partition MySQl Database
I've tried moving the database from one partition to another and now I'm =
getting the following error:
# Starting mysqld daemon with databases from /data/mysql
030820 23:48:08 mysqld ended
When I issue #/ /usr/share/mysql/mysql.server start
Anyone have any idea what's gone wrong. I changed the datadir in both =
/etc/my.cnf and /usr/share/mysql/mysql.server.
This is on a MySQL-3.23.55-1 server.

View Replies !
Restoring / Copying / Moving Database
I am trying to move a datbase from one machine to another. I have tried two different methods and neither are working.

First I tried using :
>> mysqldump dbName > backup_file.sql
>> mysql dbName < backup_file.sql

as the manual outlines, but I have a number of foreign keys resulting in errno=150 because the second command above is trying to restore data which is supposed to be linked to data in other tables that don't exist until that table is reached.

So then I tried :
>> mysqldump --disable-keys dbName > backup_file.sql
>> mysql dbName < backup_file.sql

But that did not work either. The most obvious choice at this point is to create a script to restore the tables in the proper order, but this seems kind of tedious and a maintenance headache if tables are added / changed in the future.

Next, I tried to simply copy the entire folder for the database. This folder contains *.frm files only (we have created all InnoDB tables). I created the database first then copied the files over to the appropriate folder. When I try to look at the table using the MySQL Control Center I get the error "Error 1016 : Can't open file 'filename.InnoDB' (errno : 1)"

I even moved the entire mysql installation folder, but received the same error?

View Replies !
Moving Database To Alternative Machine.
Have installed version 4.1 on 2 machines. I am trying to copy a database that i created on one machine by simple going to the data folder and copying the database folder pasting it to a removable device. I then copied the folder into the data folder on my second machine.

However, when i attempt to do a select * on any of the tables on the second machine, I am told that the table is corrupted or does not exist.

View Replies !
Multiple Instances: Moving Database?
I have two mysql instances on the same box. I would like to move one database to the 2nd instance.

Does anyone know of an easy way to accomplish this, preferably without going through the dump/import process?

View Replies !

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