Displaying 20 results from an estimated 20000 matches similar to: "Authentication against multiple mysql databases"
2007 Sep 26
0
activerecord multiple databases
So, I was looking for a setup that would allow me to easily query
multiple databases and not have to re-write my customer finder type
queries. Here is what I came up with and it seems to be working for
me in my very basic tests so I thought I''d share. Just posting it in
case this helps anyone else trying to do the same thing.
I''m using this with activerecord, but not rails, so
2010 Dec 01
2
Are stub databases still supported in 1.0.21?
I have the following setup:
Databases:
/var/lib/xapian-omega/data/db1
/var/lib/xapian-omega/data/db2
/var/lib/xapian-omega/data/db3
Stub:
/var/lib/xapian-omega/data/default
The stub file "default" is a text file that contains the following:
auto /var/lib/xapian-omega/data/db1
auto /var/lib/xapian-omega/data/db2
auto /var/lib/xapian-omega/data/db3
Using the following returns nothing:
2013 Mar 05
1
Remote database & local database, and adding new weight found vtable error
Hello, guys.
Q1.
now I have load all the docid and its document data into a dictionary for
faster loading data instead of calling
Xapian::MSetIterator i;
i.get_document().get_data();
but I was happened to discover that the dictionaries got by such two method
were different:
both methods use DB1, DB2
method 1:
Xapian::Database db = Xapian::Database(the path of DB1);
Xapian::Database db2 =
2009 Jul 22
3
How to replace NAs in a vector of factors?
# Just when I thought I had the basic stuff mastered....
# This has been quite perplexing, thanks for any help
## Here's the example:
db1=data.frame(
olditems=c('soup','','','','nuts'),
prices=c(4.45, 3.25, 4.42, 2.25, 3.98))
db2=data.frame(
newitems=c('stew','crackers','tofu','goatsmilk','peanuts'))
2007 Oct 10
2
Something to think about
I'm planning to add multiple-database support for searches to my "Xappy"
python wrapper (more on this wrapper later, but for now, see
http://code.google.com/p/xappy for details). This is reasonably
straightforward, because Xapian supports this nicely: except that
"Xappy" generates a "fieldname->prefix" mapping automatically. The
prefix which corresponds
2010 Apr 01
1
Stack with factors
Hi R users:
I found that I cannot stack() a data.frame with factors.
db1<-data.frame(replicate(6,factor(sample(c("A","B"),6,replace=TRUE))))
str(db1)
db2<-stack(db1)
db2
"db2" does not have any row.
How can I stack them by the variables X1,X2,...,X6?
Thank you for your help.
Kenneth
2010 Oct 22
1
overlapping docids when searching on multiple databases?
Just a quick question - it seems to me that it's entirely possible to
get overlapping docids when searching on multiple databases? For
instance:
open database1
add database2 to database1
search db1+db2
if docid 10 exists in both databases, is there any way of telling which
which database to retrieve the document from?
/Per Jessen, Z?rich
2020 Feb 19
0
prioritizing aggregated DBs
On Wed, Feb 19, 2020 at 10:23:09AM +0000, Eric Wong wrote:
> Btw, is there a way to quickly figure out which sub-DB a retrieved
> document or mset item belongs to?
Yes: https://trac.xapian.org/wiki/FAQ/MultiDatabaseDocumentID
1.4.12 added a Database::size() method which reports the number of
shards - for older versions you have to keep track of that yourself
(which needs a little care as
2020 Feb 21
1
prioritizing aggregated DBs
Olly Betts <olly at survex.com> wrote:
> On Wed, Feb 19, 2020 at 10:23:09AM +0000, Eric Wong wrote:
> > Btw, is there a way to quickly figure out which sub-DB a retrieved
> > document or mset item belongs to?
>
> Yes: https://trac.xapian.org/wiki/FAQ/MultiDatabaseDocumentID
>
> 1.4.12 added a Database::size() method which reports the number of
> shards - for
2007 Jan 16
4
ocfs Vs ocfs2
Hi everbody this is my first post,
I have two test server .(Both of them is idle)
db1 : RHEL4 OCFS2
db2 : RHEL3 OCFS
I test the IO both of them
The result is below.
db1(Time Spend)db2(Time Spend)OS Test Command
dd (1GB) (Yazma)0m0.796s0m18.420stime dd if=/dev/zero of=./sill.t bs=1M count=1000
dd (1GB) (Okuma)0m0.241s8m16.406stime dd of=/dev/zero if=./sill.t bs=1M count=1000
cp
2007 Jan 16
4
ocfs Vs ocfs2
Hi everbody this is my first post,
I have two test server .(Both of them is idle)
db1 : RHEL4 OCFS2
db2 : RHEL3 OCFS
I test the IO both of them
The result is below.
db1(Time Spend)db2(Time Spend)OS Test Command
dd (1GB) (Yazma)0m0.796s0m18.420stime dd if=/dev/zero of=./sill.t bs=1M count=1000
dd (1GB) (Okuma)0m0.241s8m16.406stime dd of=/dev/zero if=./sill.t bs=1M count=1000
cp
2003 Mar 16
0
creating directories on destination
Hello,
I need some advice on having rsync automatically create directories on the
destination server
I have the following directory structure:
source host:
/home/user1/
/home/user2/
etc.
/var/lib/mysql/db1
/var/lib/mysql/db2
etc.
On the destination host (host_name) I have:
/home/backups/host_name/
and I want to backup the source host to this dir so that at the end of the
backup I have:
2010 Aug 12
2
thread locked while flushing to database
On a multicore Linux platform I'm running a simple c test program, to
evaluate xapian performance, and inspect advantages in multiple indexing.
I'm starting two threads, and each thread writes to his database.
main th -> indexing thread_1 -> db1
(dispatcher) -> indexing thread_2 -> db2
I use sched_setaffinity to bind each indexing thread to a specific core.
2018 Jul 06
0
support for Blowfish $2y$10$
Hei Aki!
# doveadm pw -t
'{BLF-CRYPT}$2y$10$UEm8SR/IuX.ZONebRt40XOKTuZ9bXktYWpGDiLw2h7MTPcnvmuIRK'
Enter password to verify:
{BLF-CRYPT}$2y$10$UEm8SR/IuX.ZONebRt40XOKTuZ9bXktYWpGDiLw2h7MTPcnvmuIRK (verified)
- Great, thanks!
-Graham-
PS: Sorry I just "posted" to your personal address instead of the list.
Aki Tuomi wrote on 06/07/18 23:06:
> Hi!
>
> $2y$ is
2018 Jul 06
0
user/password Authentication via Joomla database
Hi,
I think there is no reason to be offlist.
Your setup should work, only problem could be the freebsd userid. My
setup has only one user for all accounts and no "real" users. I only
have a vmail user.
Maybe a tutorial for dovecot and mysql only would help you ( I don't
have a link here, but google has)
hope that helps
Harald
Am 06.07.2018 um 15:18 schrieb Graham S. Jarvis:
2006 Jan 26
0
If you want to disconnect a database properly, there is the code:)!!!
Hi,
We have worked on a problem of connection: Connect to
two databases with a single ActiveRecord::Base model
class within the same action
The main difficulty is how to disconnect the actual
connection properly and then let the ActiveRecord
establishes a new one.
The actual function "remove_connection" removes the
connection, but its doesn''t unbind the link between
rails and
2006 Jan 18
1
Helps!!!!! Rails database connection guru needed!!!!!!!
Hi,
I really need help to understand what is happening
while Rails connect to a database, (we area actually
using postgresql, so my example will be with
postgresql) What I understand is Rails is able to
connect to different DB. Actually, this is what we
want, and we have made some tests, everything is juste
fine. However, all these tests lead us to some
important questions that we did find the
2019 May 15
1
Second VPN network fails to start
Hi,
I have a small problem and any help appreciated.
Tinc 1.0.33 Ubuntu 18.04 at Digital Ocean
I need VPNs between 1 database server and two servers on separate networks:
VPN0 works OK
DB2 10.0.0.50/24 connects to Web1 10.0.0.1
Here is my ip r result:
default via x.x.x.x dev eth0 proto static
10.0.0.0/24 dev tun0 proto kernel scope link src 10.0.0.51
10.15.0.0/16 dev eth0 proto kernel scope
2018 Jul 21
0
Freebsd: Fatal error - Support not compiled in for passdb driver 'sql'
Yes, the defaults do not include DB support.
Larry Rosenman
mail/dovecot maintainer
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: larryrtx at gmail.com
US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
?On 7/21/18, 11:25 AM, "dovecot on behalf of Graham S. Jarvis" <dovecot-bounces at dovecot.org on behalf of
1999 Mar 09
2
summary() of lm() problem (PR#135)
Debuggers,
I wrote to r-help about this and was appropriately told off by Peter
Dalgaard. I append that mail in case you have not seen it.
Following Peter's advice I have attempted to simplify the problem.
First note that the following does *not* fail (by which I mean crash, as
in generate a memory access violation):
> tmp<-matrix(c(1,0,0,1,1,1),2,3)
>