Questions tagged [php-pdo]
The php-pdo tag has no usage guidance.
18
questions
0
votes
0answers
88 views
Magento 2.4 - Port must be configured within host parameter Pls Help
I can start the setup via Command Line. And I get no Errors. But if i enter the homepage i got this error:
[2020-11-03 23:11:17] main.CRITICAL: Port must be configured within host parameter (like ...
0
votes
1answer
274 views
How to install packages php7.2-hash php7.2-openssl php7.2-pdo_mysql if they are not found by apt
How to install packages php7.2-hash php7.2-openssl php7.2-pdo_mysql if they are not found by apt.
php7.2-hash php7.2-openssl php7.2-pdo_mysql
root@sample:~# apt install php7.2-hash
Reading package ...
1
vote
0answers
70 views
“Undefined class constant 'PDO::MYSQL_ATTR_SSL_KEY' ” what is this error? I am using magento 2.3 and php 7.3
When I try to enable a new module by php bin/magento module:enable Mageplaza_HelloWorld command this comes.
0
votes
1answer
526 views
How to enable LOAD DATA LOCAL INFILE in Magento 1.9
So far I found this closed question and solutions for Magento 2, but I'm hoping there's a solution for Magento 1 as well. This question should not be closed like the other one because it IS specific ...
1
vote
0answers
83 views
PDO MYSQL error after moving database from remote server to same server magento is on
I am having an issue where when I go to my Magento site I get a 500 error and looking at the servers error log I see the blow
Unable to load dynamic library '/usr/lib/php/20151012/pdo_mysql.so'
I am ...
0
votes
1answer
310 views
Magento 2: How to fix error `[Zend_Db_Adapter_Exception] SQLSTATE[HY000] [2002]
I install lampp on linux. Then install Magento 2. However, i get some errors when run any command.
0
votes
1answer
2k views
pdo_mysql extension is not installed error on magento2 [duplicate]
I'm facing this type of extension error on local machine. I also Checked pdo_mysql extension install on my server.It show enable status during execuate commond .
which is :
php -i|grep PDO
It Shows ...
2
votes
2answers
12k views
I am getting this error “pdo_mysql extension is not installed”
When i use php bin/magento setup:static-content:deploy in ubuntu i am getting this error "pdo_mysql extension is not installed" so please help me?
1
vote
1answer
4k views
pdo_mysql extension is not installed
IT`s a fresh Magento 2.1 files
Initially all working fine , but after some time its giving this error
[Zend_Db_Adapter_Exception]
pdo_mysql extension is not installed
cache:clean [--bootstrap="....
3
votes
0answers
204 views
Magento1.9 Connect to External Mssql Database using Pdo_dblib
I am trying to connect an external database to get few data into Magento. I am using pdo_dblib to connect to the database.
try {
$hostname = "hostname";
$port = port;
$dbname = "dbname";
$username = "...
0
votes
2answers
351 views
extending a non-code (Varien) class in Magento located in lib - Varien_Db_Adapter_Pdo_Mysql
I have extended classes from core in Magento before, but am uncertain how to extend this class:
Varien_Db_Adapter_Pdo_Mysql
//located in lib/Varien/Db/Adappter/Pdo/Mysql.php
How would I do this?
1
vote
2answers
6k views
Magento2 Upgrade Data script for custom module
I am working on installer and upgrade script of Magento 2 In which my InstallSchema, UpgradeSchema and InstallData scripts are working but UpgradeData.php is not working.
Please check the following ...
1
vote
1answer
1k views
Cron.sh error: PHP Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'pdo_mysql extension is not installed'
The problem occurs in a Magento 1.9.2.4 installation (upgraded from 1.7.2 and then migrated to this new VPS)
Trying to run the cron.sh on a centos VPS (DirectAdmin Controlpanel)
This is returns the ...
0
votes
1answer
66 views
Why don't bound params work in an IN statement?
In my custom resource model, I'm trying to use fetchAssoc to get some data from a table. I'm trying to quote an array into an IN statement, and I've noticed that it doesn't work (returns an empty ...
1
vote
1answer
3k views
PDO extension is required for this adapter - Magento Connect [duplicate]
I just did a new magento install of V 1.9.2.2 and when I go to magento connect I get the...
"The PDO extension is required for this adapter but the extension is not loaded" error. BUT IT IS!
I have ...
0
votes
1answer
2k views
Can't connect to Mysql with Magento 2/PHP 7
I'm working on a local build consisting of Magento 2.0 and PHP 7. I've got everything up and running, but when I try to load the site I get the following error:
SQLSTATE[HY000] [2003] Can't connect ...
-2
votes
1answer
937 views
Magento2 Database Basic PDO Details
Regarding the upcoming Magento version 2 I'm asking myself, if:
Will it make use of PDO?
And if so, will it make use of PDO emulated prepares[1] ?
I'm also asking myself about similar PDO related ...
1
vote
2answers
3k views
Can't access Magento front-end or Admin after migrating to local MAMP environment
I need to copy webstore to my local environment to do some work on it before I apply these changes on the production version. I viewed multiple tutorials how to move a magento store to your local host ...