search for: db_password

Displaying 11 results from an estimated 11 matches for "db_password".

2006 Mar 27
5
Accessing Session Object from a model
...o tell my model what DB to connect to based on what profile the logged in user has. Something similar to: [code] class Report < ActiveRecord::Base establish_connection({ :adapter => MyConfig.config(:db_adaptor), :username => MyConfig.config(:db_user_name), :password => MyConfig.config(:db_password), :database => @session[:user].profile.name + "_dbname" }) set_table_name "reports" . . . end All the DBs have the same login information so the only thing I need to change is the :database attribute, but I can''t figure out any way to pass this information into the...
2009 May 15
1
[PATCH server] add server-side groundwork for remote freeipa server
...admin_ipaddr.to_s @cli.say("Forward dns lookup for #{ipa_host} failed, exiting") exit(0) end @@ -236,18 +254,6 @@ cobbler_user_password = prompt_for_password("Enter your cobbler user password:", # Postgres Configuration db_username = "ovirt" db_password = prompt_for_password("Enter a password for the ovirt postgres account:", "Confirm your ovirt postgres password") -# FreeIPA Configuration -realm_name = prompt_for_answer("Enter your realm name (example: example.com):", :regex => FQDN) - - at cli.say("NOTE: The...
2006 Jun 20
1
Extracting a connection out of ActiveRecord::Base
...lude?(:db_adapter) typo_conn = ActiveRecord::Base.connection ActiveRecord::Base.establish_connection( :adapter => self.options[:db_adapter], :host => self.options[:db_host], :username => self.options[:db_username], :password => self.options[:db_password], :database => self.options[:wp_db] ) self.connection = ActiveRecord::Base.connection ActiveRecord::Base.connection = typo_conn puts "connected." end the connection stored in self.connection seems to get closed when the connection to the typo datab...
2005 Jul 15
0
Queue_log stats
...timestamp int(11) NOT NULL default '0', # id tinytext NOT NULL #) TYPE=MyISAM; use DBI; use IO::File; my $opt_debug = 0; # if you want postgres change this to "Pg" my $db_type = "mysql"; my $db_host = "127.0.0.1"; my $db_user_name = 'username'; my $db_password = 'password'; my $db_database = 'asteriskstat'; my $dbh = DBI->connect("DBI:$db_type:dbname=$db_database;host= $db_host;", $db_user_name, $db_password); open(FIFO, "< /var/log/asterisk/queue_log") or die "Can't open queue_log : $!\n&quo...
2009 Jul 02
2
How to install ovirt in working environment?
...ev => 'eth1', admin_dev => 'eth1' } # DHCP Configuration # Cobbler configuration $cobbler_hostname = 'station.example.ru' $cobbler_user_name = 'cobbler' $cobbler_user_password = 'cobbler' # Postgres Configuration $db_username = 'ovirt' $db_password = 'ovirtadmin' # FreeIPA configuration $realm_name = 'example.ru' $freeipa_password = 'secret' $short_ldap_dn = 'dc=example,dc=ru' $ldap_dn = 'cn=ipaConfig,cn=etc,dc=example,dc=ru' include cobbler::remote include postgres::bundled include freeipa::bundled i...
2007 Mar 14
2
login authentication
Hi everyone, i used postfix, dovecot and mysql. I have virtual users and domains. I have this configuration in dovecot-mysql.conf: db_host = localhost db_port = 3306 db_unix_socket = /var/run/mysqld/mysqld.sock db = postfix db_user = postfix db_passwd = bscidth46 db_client_flags = 0 default_pass_scheme = CRYPT password_query = SELECT password FROM mailbox WHERE username = '%u' user_query
2007 Oct 02
2
Requires from other modules / requires with aliases
...been working on a module for bacula, and I''m having a problem requiring resources I''ve defined in other modules. At the moment, I have the following (simplified): /etc/puppet/modules/bacula/manifests/init.pp: class bacula { ... define configure ( $gui="true", $db_password ) { ... postgresql::create_db { "bacula": alias => create_bacula_db, require => create_bacula_user, owner => "bacula", } postgresql::authorise{"bacula...
2019 Jan 09
3
samba-tool auth in scripts
Hi, I created a script to add DNS entries with samba-tool (for LetsEncrypt, as a dehydrated hook.) Works fine, but I have the password for the dedicated user to do that in the script in the clear. I think I read somewhere something about doing it with kerberos, but I never used kerberos and don't know where to start. Is there any good way to be doing this? Thanks, Jakob
2005 Mar 17
3
ANNOUNCEMENT: Updatesforapp_cbmysqlandMeetMe2gui (out of tree modules)
...atabase to match the tables in the description file. 7. cd to asterisk/apps and run patch -p1 < path-to/apps-meetme-cbmysql.txt 8. make; make install 9. Extract the meetme2-gui files to your webserver document tree. 10. Modify the ./lib/Defines.php to match your db_name, db_user and db_password Dan -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Henry Devito Sent: Thursday, March 17, 2005 7:13 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] ANNOUNCEMENT: U...
2005 Mar 04
2
ANNOUNCEMENT: Updates for app_cbmysql and MeetMe2gui (out of tree modules)
Lots of interest here for conferencing. I've probably convinced more people to start using asterisk@home for this feature than anything else. Can I input some suggestions; Need to change the rinky dink call icons (let me know if you need some better samples) Need to change the ability for a muted caller to flag they have a question and a desire to talk (I do a lot of mute all except 1 or 2
2015 Aug 15
2
wordpess can't connect to DB but mediawiki can
...gDBpassword = "secret"; And here's what the wordpress database connection settings look like since they are not: /** MySQL database username */ define('DB_NAME', 'jokefire'); define('DB_USER', 'admin_ssl'); /** MySQL database password */ define('DB_PASSWORD', 'secret'); /** MySQL hostname */ define('DB_HOST', 'db.example.com'); /** Database Charset to use in creating database tables. */ define('DB_CHARSET', 'utf8'); /** The Database Collate type. Don't change this if in doubt. */ define('DB_COLLAT...