Connecting Multiple Database

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
jomjom's picture

Pahelp naman po. Sino may alam magkabit ng ibang database sa drupal and gumawa ng bagong login. Plan ko po sana na gamitin ung lumang user account from my other website.

Comments

nasa parehong server na ba

ghmercado's picture

nasa parehong server na ba yung db mo?

bakit mo ulit gusto gawin to please?

Asa localhost pa naman po sir

jomjom's picture

Asa localhost pa naman po sir und dalawang database. Naconnect ko na po ung database na isa. May sample module po ba kau ng panibagong login using different database?

Bat mo po gustong gumawa ng

lucentx's picture

Bat mo po gustong gumawa ng bagong login? Di mo ba pwede iport yung mga user galing dun sa isang database mo papuntang database ng drupal?

Panung port? Ilipat? Di po

jomjom's picture

Panung port? Ilipat? Di po pede ilipat. madami kasing records un. Legacy database ba tawag dun.. Newbie hir. pano din po magreturn ng array of data sa nagawa mong module?

pm mo ko sa irc. #drupal

lucentx's picture

pm mo ko sa irc. #drupal channel sa irc.freenode.net lucentx ung nick ko. baka matulongan kita. or add mo ko google chat. aronbarbosa@lucentx.com

question lang

edgar_estor's picture

Kung gagawa ka bagong login module ibig mo bang sabihin bypass mo na yung login system ng drupal or gagamitin mo lang pero ang db mo yung bagong db mo na ikakabit mo..

I have no Idea what this life is all about....

bypass po ung login.

jomjom's picture

bypass po ung login.

Bakit mo gusto ibypass yung

ghmercado's picture

Bakit mo gusto ibypass yung login? Hindi ka lang maka - login?

sandali, pareho rin ba na drupal yung source na database? what ver?

Paki kumpleto ang details pre para maintindihan namin ng maayos.

Why hack Drupal when you can....

killer_tilapia's picture

Why hack Drupal's login module when you can easily copy the tables from the old database into the new database. I'm assuming that the old database was for an old Drupal install.

Just use a "SELECT INTO" statement.

But OP did mention he's on a localhost setup so I think he's running xampp which has phpmyadmin. With phpmyadmin, moving table data is trivial.

Or....

He can just use the Migrate Module. It can migrate users also, not just content.

Ok na po. Nagawa ko na po

jomjom's picture

Ok na po. Nagawa ko na po siya. Salamat po ulit.

What?!

killer_tilapia's picture

What?! no upvotes?

good job

edgar_estor's picture

nice.. sana man lang you can share :) I have the same problem din kc before, the database is from another system, gusto ng client na gamitin ang existing table ng users na existing na for 5 years. anyway.. good job bro :)

I have no Idea what this life is all about....

Philippines

Group organizers

Group categories

Post category

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: