Go Back   Defender Hosting Forums > PowerVPS Virtual Private Servers > Windows VPS - HOWTOs and FAQs

Windows VPS - HOWTOs and FAQs Staff and Community HOWTOs and FAQS Covering Windows Virtual Private Server Hosting based on Virtuozzo for Windows from SWsoft, and Microsoft Virtual Server 2005 R2 Enterprise Edition

Reply
 
Thread Tools Display Modes

  #1  
Old 11-11-2005, 10:33 PM
charles charles is offline
Senior Member
 
Join Date: May 2004
Location: Virginia
Posts: 1,327
charles has much to be proud ofcharles has much to be proud ofcharles has much to be proud ofcharles has much to be proud ofcharles has much to be proud ofcharles has much to be proud ofcharles has much to be proud ofcharles has much to be proud of
Default HOWTO enable MySQL on your Plesk VPS

Plesk comes with MySQL support, but doesn't have it installed by default. To install and enable it,

rdp/rdesktop to the vps

Go to Start -> control panel -> Add/remove Programs

Select Plesk 7.5.4 for windows -> Modify -> Expand "Database Management" option and select "MySQL server" continue and finish.

Thats it, mysql is now running on the vps on port 3306. "MySQL server" will now be listed in "plesk services monitor" in the taskbar on desktop.

Login to plesk now and in Server-> Databases -> MySQL tab, you can enter the port (3306) server (localhost) admin user and password for mysql and start using phpmyadmin and create mysql dbs for domains etc.

Thanks to Veena for writing this up.

charles
Reply With Quote

  #2  
Old 12-01-2005, 08:27 AM
max_m
Guest
 
Posts: n/a
Default

How would you do the same on a linux plesk ?

There is no support for Mysql on my server exept for maybe being able to check the version number and create a database....nothing else.

Thanks for your help.
Reply With Quote

  #3  
Old 12-01-2005, 09:15 AM
charles charles is offline
Senior Member
 
Join Date: May 2004
Location: Virginia
Posts: 1,327
charles has much to be proud ofcharles has much to be proud ofcharles has much to be proud ofcharles has much to be proud ofcharles has much to be proud ofcharles has much to be proud ofcharles has much to be proud ofcharles has much to be proud of
Default

max_m, please open a ticket with support and they can help you with this. This has to be enabled on linux. I am guessing your just looking in the wrong place, or expecting to see something else.
Reply With Quote

  #4  
Old 05-10-2006, 09:09 AM
Milovan
Guest
 
Posts: n/a
Default Re: HOWTO enable MySQL on your Plesk VPS

One thing: It may happen that once you install MySQL in a way that Charles mentioned above it does not get properly configured with Plesk for Windows. Since, by default, Plesk puts a random generated password for client's end MySQL (the one you just installed per the first post), you need to reset it.

Open my.ini that is located in c:\SWSoft\Plesk\Databases\MySQL\Data (if not here, look in c:\Program Files\SWSoft\Plesk\Databases\MySQL\Data).

Add the following line:

skip-grant-tables

Then save, close and restart MySQL like this: double click the red icon in the right-down corner (Plesk Service Monitor), check MySQL and press 'restart' button.

Then open CMD (start -> run -> cmd) and navigate to c:\SWSoft\Plesk\Databases\MySQL\bin (or c:\Program Files\SWSoft\Plesk\Databases\MySQL\bin - if you are using older version of Plesk for Windows) and type the following command:

mysql -uadmin mysql

You should be logged in. Type the following command:

update user set password=password('newpassword')where user='admin';

Of course, change the "newpassword" with the password you wish to use.

After that, make sure to remove that "skip-grant-tables" line from my.ini and when you do so, restart MySQL again.

Login to Plesk and configure MySQL in the "Database" section as Charles already mentioned above.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Down rts2271 Linux VPS - General 5 11-02-2006 06:14 AM
Howto access MySQL remotely? LordMerlin Linux VPS - HOWTOs and FAQs 9 10-18-2006 11:36 AM
HOWTO Change MSDE Pass and Plesk Setup Tomas Windows VPS - HOWTOs and FAQs 1 05-10-2006 09:01 AM
Is Plesk compatible with MySQL 5.0? rchurch Linux VPS - General 2 12-29-2005 02:52 PM



All times are GMT -4. The time now is 12:43 AM.


vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright Defender Technologies Group, LLC 2006