MANUAL TO RESTRICT A USER TO A SPECIFIC DATABASE
*************************************************************
1) First login to phpmyadmin
2) After login click on privileges
3) Then select add new user example: user : user1 Host : local host
passwd: ########
4) Then select go
5) exit
6) Please login with user1
7) you will see only default database
8) Then log off
9) Once again login to root account
10) Then click privileges
11) check the box user1 and click edit privileges
12) After that select add privileges on the following data base
13) Then from the drop down menu select the specific database
14) On selecting the data base pop the new window
15) Then check all , and give the password and select Go
16) Now exit the button .
Please see the below screen short
Open Source Guide Blog Started with thought of sharing Ideas in existing Technology
Sunday, November 1, 2009
Perl Module Deployment error Tk::Tree::JSON
Problem:
Perl Module Deployment error Tk::Tree::JSON:-
Can't locate JSON.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.10.0/Tk/Tree
/JSON.pm line 16.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/Tk/Tree/JSON.pm line 20.
Compilation failed in require at example.pl line 22.
BEGIN failed--compilation aborted at example.pl line 22.
Solution:-
While Compiling this specific perl module we will be getting similar error .Just a fix for this problem look for JSON.pm file located in “lib/Tk/Tree” and copy it to “
cp JSON.pm /home/Tk-Tree-JSON-0.01/blib/lib/”
Then compile it I.e, make test. You will get below message
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ....... Subroutine Tk::Widget::ScrolledJSON redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 24.
Subroutine Populate redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 29.
Subroutine valuemaxlength redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 50.
Subroutine _value_max_length redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 60.
Subroutine load_json_file redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 72.
Subroutine load_json_string redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 88.
Subroutine get_value redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 100.
Subroutine _json_parser redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 108.
Subroutine _load_json redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 123.
Subroutine _format_text redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 154.
Subroutine Tk::Widget::JSON redefined at /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/Tk/Widget.pm line 256.
t/00-load.t ....... 1/1 # Testing Tk::Tree::JSON 0.01, Perl 5.010000, /usr/bin/perl
t/00-load.t ....... ok
t/pod-coverage.t .. 1/2 Subroutine Tk::Widget::ScrolledJSON redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 24.
Subroutine Populate redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 29.
Subroutine valuemaxlength redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 50.
Subroutine _value_max_length redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 60.
Subroutine load_json_file redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 72.
Subroutine load_json_string redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 88.
Subroutine get_value redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 100.
Subroutine _json_parser redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 108.
Subroutine _load_json redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 123.
Subroutine _format_text redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 154.
Subroutine Tk::Widget::JSON redefined at /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/Tk/Widget.pm line 256.
t/pod-coverage.t .. ok
t/pod.t ........... ok
All tests successful.
Files=3, Tests=5, 1 wallclock secs ( 0.08 usr 0.00 sys + 0.56 cusr 0.08 csys = 0.72 CPU)
Result: PASS
Then Do Make install
Installing /usr/lib/perl5/site_perl/5.10.0/JSON.pm
Appending installation info to /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/perllocal.pod
That's it done and enjoy
Perl Module Deployment error Tk::Tree::JSON:-
Can't locate JSON.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.10.0/Tk/Tree
/JSON.pm line 16.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/Tk/Tree/JSON.pm line 20.
Compilation failed in require at example.pl line 22.
BEGIN failed--compilation aborted at example.pl line 22.
Solution:-
While Compiling this specific perl module we will be getting similar error .Just a fix for this problem look for JSON.pm file located in “lib/Tk/Tree” and copy it to “
cp JSON.pm /home/Tk-Tree-JSON-0.01/blib/lib/”
Then compile it I.e, make test. You will get below message
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ....... Subroutine Tk::Widget::ScrolledJSON redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 24.
Subroutine Populate redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 29.
Subroutine valuemaxlength redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 50.
Subroutine _value_max_length redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 60.
Subroutine load_json_file redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 72.
Subroutine load_json_string redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 88.
Subroutine get_value redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 100.
Subroutine _json_parser redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 108.
Subroutine _load_json redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 123.
Subroutine _format_text redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 154.
Subroutine Tk::Widget::JSON redefined at /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/Tk/Widget.pm line 256.
t/00-load.t ....... 1/1 # Testing Tk::Tree::JSON 0.01, Perl 5.010000, /usr/bin/perl
t/00-load.t ....... ok
t/pod-coverage.t .. 1/2 Subroutine Tk::Widget::ScrolledJSON redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 24.
Subroutine Populate redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 29.
Subroutine valuemaxlength redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 50.
Subroutine _value_max_length redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 60.
Subroutine load_json_file redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 72.
Subroutine load_json_string redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 88.
Subroutine get_value redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 100.
Subroutine _json_parser redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 108.
Subroutine _load_json redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 123.
Subroutine _format_text redefined at /home/Tk-Tree-JSON-0.01/blib/lib/Tk/Tree/JSON.pm line 154.
Subroutine Tk::Widget::JSON redefined at /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/Tk/Widget.pm line 256.
t/pod-coverage.t .. ok
t/pod.t ........... ok
All tests successful.
Files=3, Tests=5, 1 wallclock secs ( 0.08 usr 0.00 sys + 0.56 cusr 0.08 csys = 0.72 CPU)
Result: PASS
Then Do Make install
Installing /usr/lib/perl5/site_perl/5.10.0/JSON.pm
Appending installation info to /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/perllocal.pod
That's it done and enjoy
checking for kde-config... not found
Error message that i received when i was trying to install Umbrello error is as follow
checking host system type... i386-apple-darwin8.11.1
checking target system type... i386-apple-darwin8.11.1
checking for a BSD-compatible install... /usr/bin/install
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... not found
configure: error: The important program kde-config was not found!
Please check whether you installed KDE correctly.
Solution : check whether all kde packages are installed properlly . if everything is done
and still you get this error message .
Then please go to the directory /usr/bin and check for kde-config if it their then you can
install any of your application and if in case if some higher version is their like kde4-config
then do "cp kde4-config kde-config " then try this it should work .
Thanks.
In hope solution you liked it.
checking host system type... i386-apple-darwin8.11.1
checking target system type... i386-apple-darwin8.11.1
checking for a BSD-compatible install... /usr/bin/install
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... not found
configure: error: The important program kde-config was not found!
Please check whether you installed KDE correctly.
Solution : check whether all kde packages are installed properlly . if everything is done
and still you get this error message .
Then please go to the directory /usr/bin and check for kde-config if it their then you can
install any of your application and if in case if some higher version is their like kde4-config
then do "cp kde4-config kde-config " then try this it should work .
Thanks.
In hope solution you liked it.
Max Sound volume is too Low Ubuntu
well The solution is just deploy alsamixer and alsamixergui
Command:-
i had same problem and I have installed below packages to fix the issue
Code:
$ sudo apt-get install alsamixer
And than
Code:
$ sudo apt-get install alsamixergui
and increase the sound to maximum from alsamixer gui in
Applications-->Sound & Videos ->Alsamixergui
The Just Look for PCM,MASTER and Front . The increase the volume in all of them then you will see increase in volume.
And Enjoy. Please post your query any on Linux
Command:-
i had same problem and I have installed below packages to fix the issue
Code:
$ sudo apt-get install alsamixer
And than
Code:
$ sudo apt-get install alsamixergui
and increase the sound to maximum from alsamixer gui in
Applications-->Sound & Videos ->Alsamixergui
The Just Look for PCM,MASTER and Front . The increase the volume in all of them then you will see increase in volume.
And Enjoy. Please post your query any on Linux
Sound Problem in fedora
Just install all the rpm related to alsamixer and then executing the below
pulseaudio -D and check what is the output if everything is fine you won't get any error.
This is one way to check whether sound daemon is running.
Thats all i can Say. Hope this Should solve your sound problem in Fedora
And it is tested in Dell Inspirion 1525
pulseaudio -D and check what is the output if everything is fine you won't get any error.
This is one way to check whether sound daemon is running.
Thats all i can Say. Hope this Should solve your sound problem in Fedora
And it is tested in Dell Inspirion 1525
The configuration file now needs a secret passphrase (blowfish_secret). Open new phpMyAdmin window
Please look for file config.inc.php file located in phpmyadmin directory.
and Look for line:-$cfg['blowfish_secret']='';
replace it with some word like $cfg['blowfish_secret']='abc';
That’s it it you are done with it and enjoy
The configuration file now needs a secret passphrase (blowfish_secret). Open new phpMyAdmin window
Please look for file config.inc.php file located in phpmyadmin directory.
and Look for line:-$cfg['blowfish_secret']='';
replace it with some word like $cfg['blowfish_secret']='abc';
That’s it it you are done with it and enjoy
and Look for line:-$cfg['blowfish_secret']='';
replace it with some word like $cfg['blowfish_secret']='abc';
That’s it it you are done with it and enjoy
Subscribe to:
Posts (Atom)