Displaying 6 results from an estimated 6 matches for "somedatabase".
2006 Nov 17
5
configure a rails app for multiple databases
Hello Rails community
I cannot seem to find via Google what I had hoped would be
a simple issue
On a single DB system (currently, postgres 8.1.4),
I have two databases, each containing multiple tables.
I would like to configure my app and database.yml to recognize
these two databases.
What is the corrrect config for the database.yml ?
Is it something like:
> production:
> adapter:
2016 Nov 03
0
how to install postgresql ip4r
...r; create
database $USER owner $USER"
that last step gives your regular user a sql account with full database
admin privs and creates a scratchpad database for them to log on with
while doing admin stuff.
now,
sudo yum -y install ip4r95
psql -c "create extension ip4r" somedatabase
to install ip4r and enable it in somedatabase...
--
john r pierce, recycling bits in santa cruz
2009 Nov 03
2
Nagios check_file size in another machine
Dear all....
any one can help me???
I am aware of monitoring disk space using nagios (disk partitions with
check_disk).
Now, I have a situation that I would like to monitor size of an individual
file through nagios. e.g /var/lib/mysql/somedatabase/vlog.myd, this file
will grow very fast and i would like to monitor if the size of this file
crosses 1.5 G.
I'm already used 'check_file' but this can't solved my problem. The file in
another machine, that 'check_file' can't do it.
-------------- next part --------------...
2009 Oct 28
2
What's the simplest way to use ActiveResource in ruby (without rails)?
I would like to use this class in a standalone project, but I have
been unsuccessful thus far.
Also, how does this class exactly communicate with the web server?
Thank you.
class Person < ActiveResource::Base
self.site = "http://localhost:3000/"
end
2016 Nov 03
2
how to install postgresql ip4r
ok, so I removed the default postgresql install and installed it from
the software collections..
following the instructions at
https://www.softwarecollections.org/en/scls/rhscl/rh-postgresql95/
and I get this
[root at home1p /home/jason]$scl enable rh-postgresql95 bash
[root at HOME1P jason]# postgresql-setup --initdb
* Initializing database in
2006 Oct 02
5
Problems with MySQL
Hello,
Sorry for posting this here, but i've posted in MySQL list and no one
answered.
I'm trying to set a password for a user with the command:
mysql> set password for gamito at localhost=password('blabla');
but i always get the error:
ERROR 1133 (42000): Can't find any matching row in the user table
although i'm pretty sure that the user exists.
I'm using