Displaying 20 results from an estimated 26 matches for "database_nam".
Did you mean:
database_name
2017 Feb 21
4
Problems with my simple write conf files method
...stfixadmin I stumbled onto a problem. The following:
cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1
<?php
$CONF['database_type'] = 'mysqli';
$CONF['database_user'] = 'postfix';
$CONF['database_password'] = 'xyz';
$CONF['database_name'] = 'postfix';
$CONF['configured'] = true;
?>
EOF
produces:
cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1
<?php
['database_type'] = 'mysqli';
['database_user'] = 'postfix';
['database_password'] = 'xyz...
2017 Feb 21
1
Problems with my simple write conf files method
...em. The following:
>
> cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1
> <?php
> $CONF['database_type'] = 'mysqli';
> $CONF['database_user'] = 'postfix';
> $CONF['database_password'] = 'xyz';
> $CONF['database_name'] = 'postfix';
>
> $CONF['configured'] = true;
> ?>
> EOF
>
> produces:
>
> cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1
> <?php
> ['database_type'] = 'mysqli';
> ['database_user'] = 'po...
2006 Mar 28
8
Problem connecting with an SQL Server 2000 database
...xisting ms sqlserver 2000 database.
Unfortunately I can?t get the connection to work properly.
I used http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer to make the connection.
- Inserted the ado.rb
- Changed my database.yml to
development:
adapter: sqlserver
database: database_name
host: DBI:ADO:Provider=SQLOLEDB;Data Source=server_name;Initial Catalog=database_name;User Id=user_name;Password=your_pw_here;
username: user_name
password: your_pw_here
But I keep getting the following error message:
Open
OLE error code:800A0E7A in ADODB.Connection
Provider can...
2006 Apr 05
0
[SPAM] Problem with scaffolding on test setup
...Rails
Tutorial]
ruby script\generate controller Recipe
I also have a sql server 2000 database (rubytest) setup with the
following database.yml:
development:
adapter: sqlserver
database: rubytest
username: sss
password: sss
host: DBI:ADO:Provider=SQLOLEDB;Data Source=WGCC;Initial
Catalog=database_name;User Id=xxx;Password=xxx;
test:
adapter: sqlserver
database: rubytest
username: sss
password: sss
host: DBI:ADO:Provider=SQLOLEDB;Data Source=WGCC;Initial
Catalog=database_name;User Id=xxx;Password=axxx;
production:
adapter: sqlserver
database: rubytest
username: xxx
password:...
2006 Mar 13
2
Connectivity to Microsoft SQL Server using ADO
Based on this page:
http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer
using this specification
development:
adapter: sqlserver
database: database_name
host: server_name
username: user_name
password: your_pw_here
in database.yml for your SQL Server connection doesn''t work. Some
debugging code reveals that only the password comes through into
sqlserver_adapter.rb when you use it. I''m not sure why.
NOTE - you still hav...
2006 Dec 01
3
Creating databases on the fly
...base structure
for each user who signs up, but there doesn''t seem to be a way of doing
this using ActiveRecord.
At present I can create it by establishing a new connection to the
database
dbh = Mysql.real_connect(...)
then doing something like this
dbh.query("create database " + database_name)
which works fine with my windows machine (with mysql-win gem installed)
but not my linux server.
Any advice is greatly appreciated.
Many thanks
Tim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rai...
2011 May 19
2
[Fwd: FW: realtime mysql - p4]
Ok, i tried the suggestion:
Instead of:
sippuser => resource, database_name, table_name
sippeer => resource, database_name, table_name
I put in:
sippuser => resource, context, table_name
sippeer => resource, context, table_name
Unfortunately, with the same results.
btw i tried both "general" as "default"
Besids the commands i tried below...
2017 Feb 21
0
Problems with my simple write conf files method
...stfixadmin I stumbled onto a problem.? The following:
cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1
<?php
$CONF['database_type'] = 'mysqli';
$CONF['database_user'] = 'postfix';
$CONF['database_password'] = 'xyz';
$CONF['database_name'] = 'postfix';
$CONF['configured'] = true;
?>
EOF
produces:
cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1
<?php
['database_type'] = 'mysqli';
['database_user'] = 'postfix';
['database_password'] = 'xyz...
2009 Aug 05
2
MySQL noob question: Where can I find the database when I create one?
See my screenshot of the command here.
http://a.imagehost.org/0843/mysqladmin.png
When I type the following:
mysqladmin create <database_name> --user=root --password=xxxxxxxx
Is my command executed simply by pressing "Enter" after the command?
Am I missing some syntax?
If the command has been executed , what directory can I find this
database?
How does this relate to MySQL Administrator?
http://a.imagehost.org/0476/mysql_...
2005 Oct 26
2
ADS + Samba
...om:88
nsswitch.conf
passwd: compat winbind
group: compat winbind
shadow: compat
hosts: files dns wins
networks: files dns
protocols: db files
services: db files
ethers: db files
rpc: db files
kdc.conf
[kdcdefaults]
kdc_ports = 88,750
[realms]
EXAMPLE.COM = {
database_name = /etc/krb5kdc/principal
admin_keytab = /etc/krb5kdc/kadm5.keytab
acl_file = /etc/krb5kdc/kadm5.acl
dict_file = /etc/krb5kdc/kadm5.dict
key_stash_file = /etc/krb5kdc/.k5.EXAMPLE.COM
kadmind_port = 749
max_life = 10h 0m 0s
max_renewable_life =...
2006 Feb 26
17
please help: having problem with the scaffold commad, mysql.
i just recently purchase agile web dev book about ruby on rails and
going through the whole project. well i am now stuck on creating the
scaffold. I have been messing with settings for awhile now. here is the
error:
koloa@ubuntu:/var/www/depot$ ruby script/generate scaffold Product Admin
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists test/functional/
dependency
2015 Feb 13
2
Question re kerberos . . .
...path = /var/lib/samba/sysvol/smbdomain.com/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
Here's my 'kdc.conf'
adam at sogo:~$ sudo cat /etc/krb5kdc/kdc.conf
[kdcdefaults]
kdc_ports = 750,88
[realms]
SMBDOMAIN.COM = {
database_name = /var/lib/krb5kdc/principal
admin_keytab = FILE:/etc/krb5kdc/kadm5.keytab
acl_file = /etc/krb5kdc/kadm5.acl
key_stash_file = /etc/krb5kdc/stash
kdc_ports = 750,88
max_life = 10h 0m 0s
max_renewable_life = 7d 0h 0m 0s
master_key_type =...
2005 Apr 23
2
[Tip] Introspection to determine if a column may be null
I still want to get this into Rails for all connection adaptors, but
for now I''ve hacked my own addition on for just PostgreSQL.
The following code extends every Column object returned by
MyModel.columns to support a new #required? method, which indicates if
the column may or may not be null.
The following is a huge hack - suggestions on a cleaner way to add this
functionality
2013 Sep 24
2
delete kerberos databases and start over
...m = false
dns_lookup_kdc = true
[realms]
DOMAIN.SUFFIX = {
kdc = thisbox.domain.suffix:88
admin_server = thisbox.domain.suffix:749
default_domain = domain.suffix
}
kdc.conf is:
[kdcdefaults]
kdc_ports 750,88
[realms]
domain.suffix = {
database_name = /usr/local/samba/private/principal
admin_keytab = FILE:/usr/local/samba/private/.keytab
acl_file = /etc/krb5kdc/kadm5.acl
keys_stash_file = /etc/krb5kdc/stash
kdc_ports = 750,88
max_life = 9107d 5h 0m 0s
max_renewable_life = 9300d 0h 0m 0s...
2009 Mar 13
1
[ADS]Trust relationship 'expires'
...n_server = FILE:/var/log/krb5/kadmind.log
default = SYSLOG:NOTICE:DAEMON
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
kdc.conf
[kdcdefaults]
kdc_ports = 88,750
[reamls]
MYDOMAIN.COM = {
profile = /etc/krb5/krb5.conf
database_name = /var/krb5/principal
admin_keytab = /etc/krb5/kadm5.keytab
acl_file = /etc/krb5/kadm5.acl
kadmind_port = 749
max_life = 8h 0m 0s
max_renewable_life = 7d 0h 0m 0s
default_principal_flags = +preauth...
2003 Nov 19
1
Samba 3.0 client connection error
...owseable = No
kdc.onf and krb5.conf
#
# Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "@(#)kdc.conf 1.2 02/02/14 SMI"
[kdcdefaults]
kdc_ports = 88,750
[realms]
___default_realm___ = {
profile = /etc/krb5/krb5.conf
database_name = /var/krb5/principal
admin_keytab = /etc/krb5/kadm5.keytab
acl_file = /etc/krb5/kadm5.acl
kadmind_port = 749
max_life = 8h 0m 0s
max_renewable_life = 7d 0h 0m 0s
default_principal_flags = +preauth
}
#
#pragma ident "@(#)krb5.conf 1.2 99/07/20 SMI"
# Copyright (c) 1999, b...
2005 Jan 12
1
URGENT winbind - New DOMAIN but old DOMAIN not CHANGING - Resent
...beros/krb5kdc/kadm5.acl
dict_file = /usr/share/dict/words
admin_keytab = /etc/kerberos/krb5kdc/kadm5.keytab
[realms]
ADMIN.SJC = {
master_key_type = des3-cbc-sha1
supported_enctypes = des3-cbc-sha1:normal des-cbc-crc:normal
des-cbc-crc:v4 des-cbc-crc:afs3
profile = /etc/krb5.conf
database_name = /etc/kerberos/krb5kdc/principal
admin_database_name = /etc/kerberos/krb5kdc/kadm5_adb
admin_database_lockfile = /etc/kerberos/krb5kdc/kadm5_adb.lock
admin_keytab = FILE:/etc/kerberos/krb5kdc/kadm5.keytab
acl_file = /etc/kerberos/krb5kdc/kadm5.acl
dict_file = /usr/share/dict/words...
2007 Aug 12
10
about chinese display
hello:
I have built a project with Instant Rails.Now only a database and a
scaffold based on a product model have finished.But when i inputted
"../admin/list" in my browser,i found my chinese characters cound not
display normally.Then i made five steps:
1 ajusting encoding in my browser menu
2 in "C:\InstantRails\conf_files\my.ini"directory,making sure
2017 Feb 22
0
Problems with my simple write conf files method
...Robert Moskowitz wrote:
> cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1
> <?php
> $CONF['database_type'] = 'mysqli';
> $CONF['database_user'] = 'postfix';
> $CONF['database_password'] = 'xyz';
> $CONF['database_name'] = 'postfix';
>
> $CONF['configured'] = true;
> ?>
> EOF
KMs method of escaping every $ in the here document works but a simpler
method is to escape the EOF. That tells the shell not to do variable
expansion in the document:
cat <<\EOF>/usr/share...
2010 Sep 23
1
Auth error
...e=imap#011lip=1.2.3.4#011rip=1.2.3.4#011lport=143#011rport=45348#011resp=AHRoaWFnbz1hZG1pbmxpbnV4LmNvbS5icgAxcWF6MndzeA==
Sep 22 16:31:20 box5 dovecot: auth: Debug: Loading modules from
directory: /usr/lib/dovecot/modules/auth
Sep 22 16:31:20 box5 dovecot: auth: mysql: Connected to mysqlserver.com
(database_name)
Sep 22 16:31:20 box5 dovecot: auth: Debug:
sql(account=domain.com,1.2.3.4): query: SELECT AccountName AS
userdb_username, Password AS password, MailLocation AS userdb_mail,
concat('*:bytes=', ItQuota, 'M') AS userdb_quota_rule FROM Account
WHERE AccountName = 'account=domain...