Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
|
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 3rd, 2005, 12:28 AM
Authorized User
 
Join Date: Sep 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to major dynamic123
Default Creating separate database for users.

Hi, everyone. I would like to find out how to create separate databases space and user account for users in Mysql. I really appreciate if someone could assist me.

Regards,
Major Dynamic123

 
Old March 3rd, 2005, 06:43 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Search the MySQL site for "grant" and "create database"

HTH,

Chris

 
Old March 4th, 2005, 12:50 AM
Authorized User
 
Join Date: Sep 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to major dynamic123
Default

Hi, Chris. Thanks for the reply.

Currently, I am trying to allow client computers(Mac OS9 and Windows) to access the database via the LAN. I've successfully installed Mysql Server 4.1, Mysql Administrator(GUI), Mysql System tray monitor and Mysql query browser.

How do I go about setting up the client machines so that they can connect to the database server which I've installed on windows xp?

Appreciate if you could provide some guidelines.

Thanks.

Regards,
Major

 
Old March 4th, 2005, 10:24 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Major,

You can create different users in MySQL and include the machine names they will be accessing from using the GRANT statement, e.g.

GRANT ALL ON mydatabase.* TO myusername@myservername IDENTIFIED BY mypassword;

then

FLUSH PRIVILEGES;

Then you then can connect to your db from server myservername using username myusername.

HTH,

Chris






Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a list of users DennyLoi Javascript How-To 0 November 9th, 2007 04:32 AM
Creating Users through Front End feets SQL Server 2000 0 November 2nd, 2007 03:32 PM
How to look users on a Database..? vaasmru SQL Server 2005 2 December 14th, 2006 04:52 PM
problem for creating the separate log file for con goel_man Apache Tomcat 0 December 19th, 2004 11:48 AM
Creating a log file for multiple users patwadd Classic ASP Basics 19 June 24th, 2004 08:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.