LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-21-2002, 07:11 PM   #1
nabil
Member
 
Registered: Feb 2001
Location: MI, USA
Distribution: Debian Linux 100% GNU
Posts: 210

Rep: Reputation: 31
mysql database question!


Hello.

I have a web server running php with mysql databse on a Sun Solaris 8 Intel machine and would like to convert this box into a RedHat linux machine.

I went and setup the Redhat machine exactly like the Sun one and then copied over the mysql database for my application hoping it will work but it did not and it kept complaining about user id's and password ?????
Any ideas !!
Is it possible for this to happen ???

Thanks in advance
 
Old 01-21-2002, 07:13 PM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Re: mysql database question!

Quote:
Originally posted by nabil
Hello.

I have a web server running php with mysql databse on a Sun Solaris 8 Intel machine and would like to convert this box into a RedHat linux machine.

I went and setup the Redhat machine exactly like the Sun one and then copied over the mysql database for my application hoping it will work but it did not and it kept complaining about user id's and password ?????
Any ideas !!
Is it possible for this to happen ???

Thanks in advance
Did you just copy the database for the website, or did you copy all of mysql? Mysql has a master database usually called 'mysql' that contains the mysql users/passwords and what mysql user has what kind of access to which databases.
 
Old 01-22-2002, 04:20 PM   #3
nabil
Member
 
Registered: Feb 2001
Location: MI, USA
Distribution: Debian Linux 100% GNU
Posts: 210

Original Poster
Rep: Reputation: 31
I only copied the databse,...
I will try to go and copy mysql dir too to see if that will work,.
I think this is what you are suggesting for me to do ...
 
Old 01-22-2002, 05:00 PM   #4
nabil
Member
 
Registered: Feb 2001
Location: MI, USA
Distribution: Debian Linux 100% GNU
Posts: 210

Original Poster
Rep: Reputation: 31
Thanks that did it.

I am now able to run my old database on my new server...

Thanks again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing an app that uses a mysql database without installing mysql server? QtCoder Programming 4 08-09-2004 02:43 PM
MYSQL help - mysql database missing eloviyandhi Linux - Software 1 03-20-2004 09:20 PM
interesting question about mysql database sync shadow.blue Linux - Software 0 11-15-2003 08:24 AM
Mysql database from cd JHuizingh Linux - Software 0 02-22-2003 02:08 PM
mysql database huno Linux - General 8 02-11-2003 08:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration