Running Zend with XAMPP on Windows 10 - connect to database - windows

I have a problem learning Zend, hope you can help me. Much approchiato, some evenings lost...
I am following this tutorial and reach an article about a table creation. I am using XAMPP v3.2.2 and in the PhpStorm I can connect to its MariaDB database using a Database panel.
However when I attempt to run the php script load_db described there, it creates a database in my /data folder.
How can I connect it to the XAMPP database? I guess I need to run some MariaDB script in order to connect to the actual database, however I was unable to ask Google a correct question I guess.
I think I am missing something totally obvious, I hope you can push me in the right way.

Related

Symfony Oracle DB Connection Lost or network error - ORA-03113

After searching for days i hope that someone here can help me.
I've a dockerfile for php with nginx, oracle client and supervisord. This image is based on "php:7.4-fpm" and "oracle-instantclient19.5".
When i try to start a long running sql script (example: "BEGIN sys.DBMS_LOCK.sleep(600); END;") through a symfony command, then i'll get after ~300 seconds an ORA-03113 which points me to some kind of timeout or network error.
I've install sqlplus and have the same problem.
Things i've tried:
php max_execution_time is set to 1800
db admins cannot see a problem
have searched for symfony timeouts and debian timeouts but could not find anything
Can someone point me to a solution? Thanks!
Since this seems to be an irregular networking problem, I#ve decided to create an mView and refresh the data daily there. This works for now.

A database on apex.oracle.com is to be connected to airflow

I have database on apex.oracle.com and I want to make a connection to airflow.
This answer didnt help me: How to Connect Airflow to oracle database
How to find the sid of my database?
I googled after alot of search I found a answer. Which was giving an error.
I executed this
grant select on v_$sql to username;
This gives an error:
ORA-00933: SQL command not properly ended
Please help me in complete detail if possible.
What should be entered in host name? I don't have any hosting platform. Should database need to be deployed or hostname can be found for a database created on apex.oracle
As far as I can tell (which doesn't have to be correct), give up. Database on apex.oracle.com isn't accessible from the outer world. As stated,
This site (apex.oracle.com) is intended only for the customer
evaluation of Oracle Application Express.
so - you should use it to test your Apex skills and nothing more. If you need to use a database, download and install your own copy - it is available on the Oracle Technology Network, free for evaluation purposes.
Or, consider contacting one of database hosting companies, if you want to access it on the Internet.

Find postgres I was connected to

I have done something rather dumb.
I got a new work machine and, for weeks (I know, I know) I have been connected to a version of postgres. Last night, the machine restarted and now I can't seem to flip on the correct version of postgres.
When I try to access the database using the same credentials as before, my machine claims that the user, postgres, doesn't exist. That can't be true, as I successfully logged in as that user and had done quite a bit of work.
My question: is there a way to find out where that database is on my filesystem somehow? I know I called the database "analysis_db" and I remember several of the tablenames.
Any help would be appreciated. Thank you!

how to connect codeigniter with mySqlworkbench

I'm novice to php programming and currently developing a inventory control system as my assignment. I want to use Codeigniter and My SqlWorkbench. I want to know how to connect those two ? How to call SqlWorkbench DB in Codeigniter ? Please help me
You don't understand the basics.
MySQL Workbench is a DBMS, not a database. It is an interface to control databases, in this case MySQL databases. There are alternatives, like phpMyAdmin, chive, HeidiSQL (Windows desktop application) and plenty of others.
You don't connect CodeIgniter and Workbench in any way, they both connect to MySQL database which is standalone service running on the server.
The fastest way to get up running is to setup XAMPP, WAMP or their alternatives on your PC, that way you will have everything you need to get started - Apache, PHP and MySQL. After that you start your MySQL Workbench and can control the contents and structure of any databases and their tables you've created and will be using in MySQL.
I can suggest, that if you ask such a question, you don't know the basics of programming in PHP and CodeIgniter is far off your level, so I suggest you get started with writing basic application in pure PHP with MySQL, because you will not understand how to manipulate things in CodeIgniter and will only waste your time. After you get more familiar and comfortable with these things, you may move to CodeIgniter or other frameworks.

Installing Oracle on Debian to access an external Database

I am a little lost with the current documentation I have.
I am trying to access an oracle server within a Network, using a Debian Box. Ideally, what I'd need to do is to cron job something into SQL plus, so it performs periodically.
My scripts are ready, but I am not sure how to do the instalation part, or what to install in order to get access to SQLPlus. Does I need the full-fledged oracle client? Oracle XE? Will SquirrelSQL work?
Thanks a lot!
You just need the Oracle client, not the full database install. You can download it here. From the sound of it, you don't need the full client.

Resources