When I run the quoted commands manually in /usr/bin/mysql, the user and needed
perms get created, else the user is never created! ???



dhcppc5:/opt/oscar # ./scripts/package_config_xmls_to_database --debug
--verbose
./scripts/package_config_xmls_to_database: after GetOptions ARGV=<>
./scripts/package_config_xmls_to_database:
./scripts/package_config_xmls_to_database: options after GetOptions ->
./scripts/package_config_xmls_to_database:     debug => <1>
./scripts/package_config_xmls_to_database:     verbose => <1>
./scripts/package_config_xmls_to_database: options_strings=<--debug --verbose>
Starting the mysql database server ...
/etc/init.d/mysql start
Starting service MySQL                                                done
Making sure that the mysql database server starts on subsequent boots ...
chkconfig mysql on
./scripts/package_config_xmls_to_database: in set_option_defaults setting host =
localhost
./scripts/package_config_xmls_to_database: in set_option_defaults setting port =
3306
./scripts/package_config_xmls_to_database: in set_option_defaults setting
database = oscar
./scripts/package_config_xmls_to_database: in set_option_defaults setting type =
mysql
./scripts/package_config_xmls_to_database: in set_option_defaults setting user =
oscar
./scripts/package_config_xmls_to_database: in set_option_defaults setting
password =
./scripts/package_config_xmls_to_database: in set_option_defaults setting
password = oscar.856.077.915.164
./scripts/package_config_xmls_to_database: in set_option_defaults setting
functions_dir = /etc/odafunctions
./scripts/package_config_xmls_to_database: in oda::list_databases install_driver
succeeded for driver mysql
./scripts/package_config_xmls_to_database: executing function _ListDBs on
database <oscar>
./scripts/package_config_xmls_to_database: in oda::list_databases _ListDBs
succeeded returned <mysql test>
Creating the OSCAR database ...
./scripts/package_config_xmls_to_database: in oda::create_database
install_driver succeeded
./scripts/package_config_xmls_to_database: executing shell command <mysql -Uroot
-e "GRANT ALL ON oscar.* TO [EMAIL PROTECTED] identified by
\"oscar.856.077.915.164\";">
./scripts/package_config_xmls_to_database: <mysql -Uroot -e "GRANT ALL ON
oscar.* TO [EMAIL PROTECTED] identified by \"oscar.856.077.915.164\";">
succeeded
./scripts/package_config_xmls_to_database: executing shell command <mysql -Uroot
-e "GRANT SELECT,INSERT,UPDATE,DELETE ON oscar.* TO oscar identified by
\"oscar.856.077.915.164\";">
./scripts/package_config_xmls_to_database: <mysql -Uroot -e "GRANT
SELECT,INSERT,UPDATE,DELETE ON oscar.* TO oscar identified by
\"oscar.856.077.915.164\";"> succeeded
./scripts/package_config_xmls_to_database: executing shell command <mysql -Uroot
-e "GRANT SELECT ON oscar.* TO anonymous">
./scripts/package_config_xmls_to_database: <mysql -Uroot -e "GRANT SELECT ON
oscar.* TO anonymous"> succeeded
./scripts/package_config_xmls_to_database: failed to create database for user
oscar:
Access denied for user 'oscar'@'localhost' (using password: YES) at
./scripts/package_config_xmls_to_database line 227.
./scripts/package_config_xmls_to_database: cannot create the OSCAR database at
./scripts/package_config_xmls_to_database line 228.


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to