introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

Connect existing mysql



Posted by: santeron
May 27, 2008 01:35AM
Hey all.

This is my first post and i'm using easyphp as a college tool to test my php scripts.

My problem is that i have installed a mysql server already and i want to use the existing db. Is there a way to change the config file to use my old mysql installation?

Thanks in advance and keep up the good work.
Options: ReplyQuote
Posted by: mega-squall
June 12, 2008 02:01PM
Hello santeron,

You are using EasyPHP which is a bundled software : you may not disable MySQL support unless you make the EasyPHP's MySQL unable to run (which will make you experience error messages !).

However you still are able to install more than one version of MySQL using different TCP ports and tweak your php.ini file to make PHP use the MySQL server you want.

Another solution would be to install EasyPHP's MySQL as a service, write down the service name used for MySQL by EasyPHP, then uninstall the service, install your custom MySQL server as a service using the same name (see MySQL documentation for this step) and tweak the easyphp.ini file to make EasyPHP believe MySQL was installed as a service. EasyPHP will then start MySQL service, running your custom MySQL version.

---
mega-squall
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.