Try this: Adding users to MySQL
You need grant privileges to the user if you want external acess to database(ie. web pages).
More Related Contents:
- php+mysql Fatal error: Call to undefined function mysql_connect()
- What to put in database columns when creating registration/login system? (xampp)
- How to run deprecated php codes on the latest XAMPP [duplicate]
- Fatal error: Uncaught Error: Call to undefined function mysql_connect()
- Can’t send email with php mail function on windows 8
- Maximum execution time in phpMyadmin
- Use php to set cron jobs in Windows
- Upgrading PHP in XAMPP for Windows?
- how to access the command line for xampp on windows
- MySQL/PHP Error:[2002] Only one usage of each socket address (protocol/network address/port) is normally permitted
- PHP on Windows with XAMPP running 100 times too slow
- How to log in to phpMyAdmin with WAMP, what is the username and password?
- Is the following code valid? [closed]
- Undefined index $_POST
- How to configure XAMPP to send mail from localhost?
- How do I get the last inserted ID of a MySQL table in PHP?
- Getting raw SQL query string from PDO prepared statements
- How to get count of rows in MySQL table using PHP?
- “Invalid parameter number: parameter was not defined” Inserting data
- MySQL Prepared statements with a variable size variable list
- PHP & MySQL: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given [duplicate]
- How can I enable the MySQLi extension in PHP 7?
- Connect to SQL Server through PDO using SQL Server Driver
- MySQL server has gone away – in exactly 60 seconds
- Why is password_verify returning false?
- Laravel OrderBy relationship count
- Dynamic table in HTML using MySQL and php
- PHP to MySQL SSL Connections
- How to make mysqli connect function?
- Using PHP to upload file and add the path to MySQL database