How can we get the role information in MYSQL?

 
Thread Tools Search this Thread
Top Forums Web Development MySQL DevZone RSS How can we get the role information in MYSQL?
# 8  
Old 08-12-2009
Thanks. It is worked for me.

---------- Post updated at 08:58 PM ---------- Previous update was at 05:59 AM ----------

I am trying to build the my project on HPUX (HP-UX oscar B.11.11 U 9000/800 741028561 unlimited-user license) which access the Mysql library. But it is giving error as :

Error : MySQL51/lib/hpux/libmysqld.a(client.o) - shared library must be position independent. Use +z or +Z to recompile.

I am using this option in building:
aCC -Wl,+s,-E,+vnocompatwarnings -z -g0 -b -Wl,-Bsymbolic.

I also tried using the +Z, +z, also added CFLAGS=-fPIC in makefile.Still it is giving error.

I have taken the mysql library from : mysql-5.1.34-hpux11.11-hppa2.0w.tar.gz

Can you please suggest the solution?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Cybersecurity

Role based access and security

Hello, We are planning to setup a Role based access and security to our Linux servers. We can use mostly use sudo for providing the limited access to service and files. My query is that how can we manage that members can edit/access only specific files (it would be 1 or multiple files or... (3 Replies)
Discussion started by: sunnysthakur
3 Replies

2. Solaris

Ssh to role

Hi all I need to run a command that only a role user and root can run, I need to run that command remotely by script but the roles ask for a password. Ex. from serverA with userA to serverB with userB: userA can ssh serverB using userB without askink for a password. ssh userB@serverB... (3 Replies)
Discussion started by: juanramos100
3 Replies

3. Solaris

Role not executing command

Hello Guys, I am studying RBAC. So I create a role called sysadm and gave it the "shutdown" profile. Now when I switch to that role, and execute the shutdown command $ shutdown -y -g0 -i5 The system responds with : shutdown: not found Can anyone help me with this please?... (1 Reply)
Discussion started by: cjashu
1 Replies

4. Shell Programming and Scripting

Need Role Name for my type of work

Hi , I am planning for the interview . I am having one question here , I worked on unix and shellscripting for 2 years Done- Ø Coding and testing of Server Monitoring ShellScripts Ø Deployment on UNIX production environment I have written so many shellscripts for monitoring... (5 Replies)
Discussion started by: aish11
5 Replies

5. Linux

What's role of swap in initrd?

Hello, I want to know why initrd need swap for work. In the shell of mkinitrd, it look for the swap partation for "swsuspdev", then write a sentence "resume /dev/sdXX" in the file init from initrd.gz, and the /dev/sdXX is the swap partation. Why initrd need swap when it boot a system? what is... (4 Replies)
Discussion started by: ZR_Lang
4 Replies

6. AIX

role based user

Hi .. I need to assign role based permission to users... How to assign role based permission in aix... Thanks.. (4 Replies)
Discussion started by: sumathi.k
4 Replies

7. What is on Your Mind?

UNIX starter role?

This may not be the right forum to put up a question like the one I'm about to ask. I am hoping that I would get very fruitful responses. i) I have been learning UNIX for sometime now, but my question is realistically what do I need to be able to be able to apply for UNIX jobs. What sort of... (6 Replies)
Discussion started by: B_Jay
6 Replies

8. What is on Your Mind?

Role of AI in any OS

In any given operating system, generally how much of AI software is involved? Is it related to user-friendliness of OS? What is the future of strong AI? (3 Replies)
Discussion started by: MULTIVERSE
3 Replies
Login or Register to Ask a Question
KNIFE-ROLE(1)							    Chef Manual 						     KNIFE-ROLE(1)

NAME
knife-role - Group common configuration settings SYNOPSIS
knife role sub-command (options) ROLE SUB-COMMANDS The following role subcommands are available: LIST
knife role list (options) -w, --with-uri Show corresponding URIs List roles. SHOW
knife role show ROLE (options) -a, --attribute ATTR Show only one attribute Show a specific role. CREATE
knife role create ROLE (options) -d, --description The role description Create a new role. EDIT
knife role edit ROLE (options) Edit a role. FROM FILE
knife role from file FILE (options) Create or update a role from a role Ruby DSL (.rb) or JSON file. DELETE
knife role delete ROLE (options) Delete a role. BULK DELETE
knife role bulk delete REGEX (options) Delete roles on the Chef Server based on a regular expression. The regular expression (REGEX) should be in quotes, not in //'s. DESCRIPTION
Roles provide a mechanism to group repeated configuration settings. Roles are data structures that contain default_attributes, and over- ride_attributes, which are nested hashes of configuration settings, and a run_list, which is an ordered list of recipes and roles that should be applied to a host by chef-client. default_attributes will be overridden if they conflict with a value on a node that includes the role. Conversely, override_attributes will override any values set on nodes that apply them. When chef-client(8) configures a host, it will "expand" the run_list included in that host's node data. The expansion process will recur- sively replace any roles in the run_list with that role's run_list. SEE ALSO
knife-node(1) knife-environment(1) http://wiki.opscode.com/display/chef/Roles http://wiki.opscode.com/display/chef/Attributes AUTHOR
Chef was written by Adam Jacob adam@opscode.com with many contributions from the community. DOCUMENTATION
This manual page was written by Joshua Timberman joshua@opscode.com. Permission is granted to copy, distribute and / or modify this docu- ment under the terms of the Apache 2.0 License. CHEF
Knife is distributed with Chef. http://wiki.opscode.com/display/chef/Home Chef 10.12.0 June 2012 KNIFE-ROLE(1)