Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting Database ( external ) #3

Open
manhunbas opened this issue Sep 2, 2020 · 7 comments
Open

Selecting Database ( external ) #3

manhunbas opened this issue Sep 2, 2020 · 7 comments

Comments

@manhunbas
Copy link

I just found this "upgraded" version of wfqbe.
I used the TER Version for quite some time but since i have to upgrade Typo3 i have to also upgrade this Extension.
I am not quit sure how to select the external Database.....

Any help is welcomme.
Manfred

@woepwoep
Copy link
Owner

woepwoep commented Sep 9, 2020

This version of WFQBE is not the same product as the original version (the TER version).
The original authors no longer respond to requests for upgrade. TYPO3 v7 was the last time the original product was upgraded.

This version is also called WFQBE and it is a total rewrite from scratch.
So there is also no longer a table for database connections, because database connections are now found in a file in typo3conf directory. Also there is no longer a query table, because the query is stored in the flexform itself.

In syntax, if the tables are in the TYPO3 database, you can write a query like 'select * from tableA'.
If the tables are in another database but available for the admin user, you can write 'select * from databaseB.tableA'.

Hope this helps.
Best regards, Ron.

@manhunbas
Copy link
Author

Thanks very much for your Answer and your work.
Will try this.
Shalom Manfred

@manhunbas
Copy link
Author

manhunbas commented Sep 25, 2020

Hi Ron
Did try to get it working with a external DB, internal Tables works fine.
I did add my external DB in the LocalConfiguration.php like here:
https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/Database/Configuration/Index.html

Would be super nice to now how to access a external DB.
Maybe it would be also possible to ad your great work to the typo3 repository?
Is there also a version for Typo3 10 planed?
I understand that also updating the ext can be quite some work, maybe a lik to a PayPal donation or so is interesting?

Greetings
Manfred

@manhunbas
Copy link
Author

Hi Ron
Just wanna ask, will there also be a version for Typo3 10?

Just found a way to work with other Databases.
I create a view from one DB to another.
See here:
https://stackoverflow.com/questions/10694601/creating-view-across-different-databases

Greetings
Manfred

@woepwoep
Copy link
Owner

woepwoep commented Oct 1, 2020 via email

@woepwoep
Copy link
Owner

hi Manfred, i just applied the v10 updates. Feel free to comment. Thanks, Ron.

@manhunbas
Copy link
Author

Hi Ron
Works fine in Typo3 10. ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants