XAMPP Table 'test.test' doesn't exist

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

XAMPP Table 'test.test' doesn't exist

Postby tinycubes » 07. January 2016 06:03

I just setup a basic PHP and MySQLi script:

Code: Select all
$db = mysqli_connect('localhost','root','password','test');

 $query1 = 'SELECT name, username FROM test;';
 $result1 = mysqli_query($db,$query1);


I received the following error:

Table 'test.test' doesn't exist


I'm simply using the default `test` table provided by XAMPP, using `root` user with `password` for a temporary password placeholder and made no changes to the permissions or anything else.

What am I missing?
tinycubes
 
Posts: 1
Joined: 07. January 2016 05:59
Operating System: Windows 7 Ultimate 64-bit

Re: XAMPP Table 'test.test' doesn't exist

Postby Altrea » 07. January 2016 07:54

By default there is only a database test, there are no tables in it.
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: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 42 guests