Sponsored Content
Top Forums UNIX for Dummies Questions & Answers setup of user a/c in mysql in linux Post 302114959 by cbkihong on Thursday 19th of April 2007 07:57:01 PM
Old 04-19-2007
Login as root mysql user, and then use the grant command, e.g.

grant all privileges on db.* to 'user'@'localhost' identified by 'password'



http://dev.mysql.com/doc/refman/5.0/...istration.html

Read sect. 5.7 and sect. 5.8.

Last edited by cbkihong; 04-19-2007 at 09:05 PM..
 

9 More Discussions You Might Find Interesting

1. Solaris

user setup - only ftp access

I want to setup a user on my server and only allow that user to ftp to my server but not to be able to get to command line (telnet /ssh) I ammended my /etc/passwd so the users shell would be /usr/bin/false and this prevents log on but it also prevents the ftp.. Any ideas? (1 Reply)
Discussion started by: frustrated1
1 Replies

2. UNIX for Dummies Questions & Answers

setup a logfile for user login/logout ???

Hi everybody, im a newer, i want to setup a logfile to capture information about user login/logout (and some other events ex: a user ftp, run a speacial command) on my system in HP-UX, pls help me. i think only edit file /etc/syslog.conf but i dont know how to do it. Help me. (3 Replies)
Discussion started by: pwd
3 Replies

3. UNIX for Dummies Questions & Answers

New User/Mail setup question. PLEASE help.

OK, here's the situation. Our regular computer guy left the company without warning. We are in the process of replacing him with someone much more knowlegeable than I, but as of right now, I have been handed the duties. Our mail server is running OpenBSD and I need to set up a new employee with an... (3 Replies)
Discussion started by: Rotting
3 Replies

4. UNIX for Dummies Questions & Answers

Setup of user groups and permissions

Hi folks, thanks for reading this. I have been asked to manage our company's SCO OpenServer 5 system since the old administrator left. I have a very basic knowledge of Unix, but only the basic commands - ls, ps, chmod, etc. This server holds thousands of programs (converted Basic programs,... (4 Replies)
Discussion started by: citygov
4 Replies

5. UNIX for Advanced & Expert Users

Setup SUDO For a User on Linux Server

Hello! Can anyone please assist: Question: On Linux Server I have created two users John and Matt. I want to give both the users the ability to run 'more' and 'tail -f' commands on the log file in the directory /var/log/test.log. I do not want to give them SU rights. Can any one please... (6 Replies)
Discussion started by: sureshcisco
6 Replies

6. Linux

Unable to setup ODBC connection in RHEL5 64 bit and MySql 5.0

Hi , I am unable to setup ODBC connection in RHEL5 64 bit and MySql 5.0 I had modified ODBC.ini file , set the env variables such as LD_LIBRARY_PATH, ODBCINI , ODBCSYSINI etc . Getting the error as Data source name not found, and no default driver specified ERROR: Could not SQLConnect ... (0 Replies)
Discussion started by: roopalidalvi231
0 Replies

7. Shell Programming and Scripting

Check whether user has passwordless setup

Hello Unix scripters, I have created a small tool that i can distribute to users to check whether they have passwordless login to a list of servers. The problem in my code below is if user do not have the passwordless login yet, it will prompt them with a password login and my message below... (2 Replies)
Discussion started by: ryandegreat25
2 Replies

8. Web Development

MySQL Old Setup Files

Hi there, How is it possible to check that: 1) The old setup files are secured or deleted? For both windows or Unix (0 Replies)
Discussion started by: alvinoo
0 Replies

9. UNIX for Advanced & Expert Users

Setup Samba Server to always ask user and password

How do I setup a Samba server to always ask to user and password, when a windows user, prints your files using a shared printer through a Samba Linux Server (CUPS)? (0 Replies)
Discussion started by: viga
0 Replies
BUNDLE-CONFIG(1)														  BUNDLE-CONFIG(1)

NAME
bundle-config - Set bundler configuration options SYNOPSIS
bundle config [name [value]] DESCRIPTION
This command allows you to interact with bundler's configuration system. Bundler retrieves its configuration from the local application (app/.bundle/config), environment variables, and the user's home directory (~/.bundle/config), in that order of priority. Executing bundle config with no parameters will print a list of all bundler configuration for the current bundle, and where that configura- tion was set. Executing bundle config <name> will print the value of that configuration setting, and where it was set. Executing bundle config <name> <value> will set that configuration to the value specified for all bundles executed as the current user. The configuration will be stored in ~/.bundle/config. BUILD OPTIONS
You can use bundle config to give bundler the flags to pass to the gem installer every time bundler tries to install a particular gem. A very common example, the mysql gem, requires Snow Leopard users to pass configuration flags to gem install to specify where to find the mysql_config executable. gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config Since the specific location of that executable can change from machine to machine, you can specify these flags on a per-machine basis. bundle config build.mysql --with-mysql-config=/usr/local/mysql/bin/mysql_config After running this command, every time bundler needs to install the mysql gem, it will pass along the flags you specified. CONFIGURATION KEYS
Configuration keys in bundler have two forms: the canonical form and the environment variable form. For instance, passing the --without flag to bundle install(1) bundle-install.1.html prevents Bundler from installing certain groups speci- fied in the Gemfile(5). Bundler persists this value in app/.bundle/config so that calls to Bundler.setup do not try to find gems from the Gemfile that you didn't install. Additionally, subsequent calls to bundle install(1) bundle-install.1.html remember this setting and skip those groups. The canonical form of this configuration is "without". To convert the canonical form to the environment variable form, capitalize it, and prepend BUNDLE_. The environment variable form of "without" is BUNDLE_WITHOUT. LIST OF AVAILABLE KEYS
The following is a list of all configuration keys and their purpose. You can learn more about their operation in bundle install(1) bun- dle-install.1.html. path (BUNDLE_PATH) The location on disk to install gems. Defaults to $GEM_HOME in development and vendor/bundler when --deployment is used frozen (BUNDLE_FROZEN) Disallow changes to the Gemfile. Defaults to true when --deployment is used. without (BUNDLE_WITHOUT) A :-separated list of groups whose gems bundler should not install bin (BUNDLE_BIN) Install executables from gems in the bundle to the specified directory. Defaults to false. gemfile (BUNDLE_GEMFILE) The name of the file that bundler should use as the Gemfile. This location of this file also sets the root of the project, which is used to resolve relative paths in the Gemfile, among other things. By default, bundler will search up from the current working directory until it finds a Gemfile. In general, you should set these settings per-application by using the applicable flag to the bundle install(1) bundle-install.1.html com- mand. You can set them globally either via environment variables or bundle config, whichever is preferable for your setup. If you use both, envi- ronment variables will take preference over global settings. June 2012 BUNDLE-CONFIG(1)
All times are GMT -4. The time now is 11:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy