Help with MySQL

Status
This thread has been locked.
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Harry

Rustacean
Management
Feedback score
10
Posts
1,606
Reactions
876
Resources
0
A MySQL database doesn't have any sort of URI - you simply connect to it via the hostname/IP Address using the port (normally 3306).

Could you explain your question in more detail?
 

Herku_

Feedback score
0
Posts
204
Reactions
56
Resources
0
A MySQL database doesn't have any sort of URI - you simply connect to it via the hostname/IP Address using the port (normally 3306).

Could you explain your question in more detail?
It does.

Example: MySQL://database://name or smth
 

Harry

Rustacean
Management
Feedback score
10
Posts
1,606
Reactions
876
Resources
0
It does.

Example: MySQL://database://name or smth
I assume you're referring to below, but this is specific to PHP PDO, and is not a URI.

$pdo = new PDO('mysql:host=localhost;dbname=database;charset=utf8', 'username', 'password');
 

Herku_

Feedback score
0
Posts
204
Reactions
56
Resources
0
I assume you're referring to below, but this is specific to PHP PDO, and is not a URI.
Ah okay, I am using a free MySQL host and I do not know how to get it. Im using pex for MySQL and its needed
 

Harry

Rustacean
Management
Feedback score
10
Posts
1,606
Reactions
876
Resources
0
Status
This thread has been locked.
Top