Koozali.org: home of the SME Server

importing tables into mysql

Kim Knudsen

importing tables into mysql
« on: July 05, 2003, 12:38:21 AM »
I'm moving from a Windows 2000 server to SME 5.6 and I have to move all the websites hosted on the w2k-server to the SME server. My problem is that I don't know how to move the mysql databases from w2k to SME.

I'm using MySQL-front to administer my databases on w2k and I thought that I just could use this to connect to mysql on SME, but no matter what I do I can't login to the SME mysql.

Plz. help

nimmer

Charlie Brady

Re: importing tables into mysql
« Reply #1 on: July 05, 2003, 12:54:18 AM »
Kim Knudsen wrote:
> ... I
> thought that I just could use this to connect to mysql on
> SME, but no matter what I do I can't login to the SME mysql.

By default mysql is only used for webmail, and can only be connected to locally (i.e. from the server itself). Search here thoroughly for required updates and configuration changes to allow other connections.

Charlie

Kim Knudsen

Re: importing tables into mysql
« Reply #2 on: July 05, 2003, 01:28:34 AM »
Can anyone help me findig these updates?

nimmer

BobbyW

Re: importing tables into mysql
« Reply #3 on: July 05, 2003, 08:09:15 AM »
Download and install phpmyadmin from http://www.phpmyadmin.net/ into its own ibay.  Its the best tool you can use for managing MySQL.

-BobbyW

Kim Knudsen

Re: importing tables into mysql
« Reply #4 on: July 05, 2003, 11:27:36 AM »
I have installed phpmyadmin, but I can't figure out how to import tables/databases from here.

nimmer

Pete


Dean Mumby

Re: importing tables into mysql
« Reply #6 on: July 05, 2003, 02:44:05 PM »
Have you tried mysqldump

create the same database on your sme server and give a user the appropriate permision

 

mysqldump db | mysql -h 192.168.3.x db -u dbuser -pdbpass

Regards
Dean

Kim Knudsen

Re: importing tables into mysql
« Reply #7 on: July 06, 2003, 12:11:20 PM »
Hi,

What do I need the glibc files for?

nimmer

Dean Mumby

Re: importing tables into mysql
« Reply #8 on: July 06, 2003, 02:14:02 PM »
You need the updated Glibc to be able to make remote conections to your mysql database

.

Kim Knudsen

Re: importing tables into mysql
« Reply #9 on: July 06, 2003, 03:19:59 PM »
Thnx,

I got it working now - I think!

nimmer