Cannot connect to the database

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Cannot connect to the database

Postby ZeroHero » 07. January 2016 02:39

Hello, i'm new and trying to learn how to connect phpmyadmin databases with my phpcode written in another program. As my video is showing i'm having some difficulties connecting to the database using the code on line 8. I've tried many different variations of code, none of them works. So in my desperate attempt for solving this matter I've reached out to this forum. Hope it helps. Thanks.

**********video***************
https://youtu.be/V2sK-77Futo

https://www.youtube.com/watch?v=V2sK-77Futo&feature=youtu.be (same video)

*******************************
ZeroHero
 
Posts: 2
Joined: 07. January 2016 01:31
Operating System: Windows

Re: Cannot connect to the database

Postby Altrea » 07. January 2016 07:47

Hi,

We cannot assist you reading the manual...
=> http://de2.php.net/manual/en/function.mysql-connect.php

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8299
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Cannot connect to the database

Postby ZeroHero » 07. January 2016 12:48

Well the manual that you've linked seem promising, thanks for the aid.
ZeroHero
 
Posts: 2
Joined: 07. January 2016 01:31
Operating System: Windows

Re: Cannot connect to the database

Postby Nobbie » 07. January 2016 13:02

ZeroHero wrote:Well the manual that you've linked seem promising, thanks for the aid.


This manual definately *must* get your most important documentation for learning PHP. it is your PHP BIBLE. Always look into this manual, it does not only explain how it all works, there are also tons of usefull examples and code snippets.
Nobbie
 
Posts: 8780
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 33 guests