Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 05-31-2008, 09:10 PM   #1 (permalink)
 
Newb Techie

Join Date: May 2008

Posts: 4

Alberio is on a distinguished road

Default Using same mysql DB

Hey everyone.

Currently I have a gentoo partition set up with apache, mysql, php, and a mediawiki. Everything works fine, but what I'd like to do is install the same for windows so that when I go to do photoshop work, it doesn't cause downtime.

when I installed each seperately, I got missing function errors (blech). Then I just decided to install a wamp package :rolleyes:

The thing is that when this installed, I went to the wiki page and it said could not connect to the database with wikiuser@localhost. So I figure that the problem is that this mysqld is using a different database. I am a total mysql noob. I'm here asking, how would I set the server in windows to use the same database, so the wiki could access it and write the same information?

Thank you
Alberio is offline  
Old 05-31-2008, 09:12 PM   #2 (permalink)
Mak213's Avatar
 

Join Date: Sep 2004

Location: C:\Windows\System32

Posts: 25,661

Mak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to all

Default Re: Using same mysql DB

Wrong section. Moved to Programming.
__________________
R.I.P. Danny L. Trotter
14 Nov 1945 - 4 Sept 2009
Images created by CarnageX | Decaptured...Listen! | Visit Baezware!! | You've been Mak'd! | 儿做好
I do not accept support questions via EMail, PM, IM or my Spaces page! .:|:. This is what happens when an unstoppable force meets an immovable object.
Thanks to all the guys on the staff for your support in my time of need. Hefe you are my personal Hero for your contribution.



<<<< If I help you, or you just like what I said, rep me
Mak213 is offline  
Old 05-31-2008, 09:21 PM   #3 (permalink)
 
Newb Techie

Join Date: May 2008

Posts: 4

Alberio is on a distinguished road

Default Re: Using same mysql DB

well I suppose, but should this really be in programming considering it's just about mysql configuration?
Alberio is offline  
Old 05-31-2008, 09:46 PM   #4 (permalink)
Mak213's Avatar
 

Join Date: Sep 2004

Location: C:\Windows\System32

Posts: 25,661

Mak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to all

Default Re: Using same mysql DB

MySQL is not Windows based. It is a Web based database utility. Which to access it requires some knowledge of programming. That is why i placed it here.
__________________
R.I.P. Danny L. Trotter
14 Nov 1945 - 4 Sept 2009
Images created by CarnageX | Decaptured...Listen! | Visit Baezware!! | You've been Mak'd! | 儿做好
I do not accept support questions via EMail, PM, IM or my Spaces page! .:|:. This is what happens when an unstoppable force meets an immovable object.
Thanks to all the guys on the staff for your support in my time of need. Hefe you are my personal Hero for your contribution.



<<<< If I help you, or you just like what I said, rep me
Mak213 is offline  
Old 05-31-2008, 09:58 PM   #5 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,686

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: Using same mysql DB

So wait, you have two instances of PHP/Apache/MySQL installed, and you want them to point to the same database?
__________________

Need website help? PM me!
CrazeD is offline  
Old 05-31-2008, 10:16 PM   #6 (permalink)
 
Newb Techie

Join Date: May 2008

Posts: 4

Alberio is on a distinguished road

Default Re: Using same mysql DB

yes. one for my windows install, one under gentoo
Alberio is offline  
Old 05-31-2008, 10:41 PM   #7 (permalink)
 
Newb Techie

Join Date: May 2008

Posts: 4

Alberio is on a distinguished road

Default Re: Using same mysql DB

sorry, please delete this thread. I got it to work by changing the my.cnf to match the location and information of the database on the linux partition.
Alberio is offline  
Old 05-31-2008, 10:43 PM   #8 (permalink)
Mak213's Avatar
 

Join Date: Sep 2004

Location: C:\Windows\System32

Posts: 25,661

Mak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to all

Default Re: Using same mysql DB

I will close this thread. No need to delete it.
__________________
R.I.P. Danny L. Trotter
14 Nov 1945 - 4 Sept 2009
Images created by CarnageX | Decaptured...Listen! | Visit Baezware!! | You've been Mak'd! | 儿做好
I do not accept support questions via EMail, PM, IM or my Spaces page! .:|:. This is what happens when an unstoppable force meets an immovable object.
Thanks to all the guys on the staff for your support in my time of need. Hefe you are my personal Hero for your contribution.



<<<< If I help you, or you just like what I said, rep me
Mak213 is offline  
 
Closed Thread

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling all PHP and MySql experts murdocsvan Programming Discussions 4 04-17-2008 01:51 PM
Restoring my forum from a MySQL backup, I need help! White_Wolf Web Site Hosting / ISP Q & A 2 01-24-2008 07:28 PM
How do I schedule a MySQL database backup? aetherh4cker Programming Discussions 3 01-06-2008 04:33 PM
Mysql and PHP on windows. Driving me mental. dakta Web Site Hosting / ISP Q & A 2 11-07-2007 05:38 AM
mysql or postgres simple Linux, BSD, other *nixes & Open Source Software 3 08-19-2007 02:31 AM