Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,691 members, 7,955,593 topics. Date: Sunday, 22 September 2024 at 10:09 AM |
Nairaland Forum / Science/Technology / Programming / PHP Can't Connect With PDO (1001 Views)
Help Me With PDO / How Do I Retrieve Data With Apostrophe From Mysql Using PDO / XAMPP Mysql ERROR: PDO Driver Not Found (2) (3) (4)
PHP Can't Connect With PDO by Thirdwrist(m): 2:55pm On May 18, 2017 |
I have two files config.php and connection.php and I have been trying to establish a connection to no avail. here are the codes the error says: "'task', 'username'=> 'root', 'password'=> '', 'connection'=> 'mysql:host=localhost' ]; NULL invalid data source name". config.php |
Re: PHP Can't Connect With PDO by Thirdwrist(m): 3:05pm On May 18, 2017 |
petjoe9: Try use your sense once in a while. Its good for you. |
Re: PHP Can't Connect With PDO by webdeveloperqx: 9:21am On May 19, 2017 |
Thirdwrist: Your (DSN) data source name is invalid . simply use a valid one . 1 Like |
(1) (Reply)
Fix Any Error On Your Website/script / How Can I Unlock My Glo Netpro Modem / Where Can I Buy Btc Or Hosting With GTB Card Online
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10 |