Skip to content

Commit c38930a

Browse files
authored
remove parameter passed in mysqli_connect_errno()
mysqli_connect_errno() has no parameter per https://www.php.net/manual/en/mysqli.connect-errno.php
1 parent 2bbd1a6 commit c38930a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/mysql/single-server/how-to-configure-ssl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Refer to the list of [compatible drivers](concepts-compatibility.md) supported b
9393
$conn = mysqli_init();
9494
mysqli_ssl_set($conn,NULL,NULL, "/var/www/html/BaltimoreCyberTrustRoot.crt.pem", NULL, NULL);
9595
mysqli_real_connect($conn, 'mydemoserver.mysql.database.azure.com', 'myadmin@mydemoserver', 'yourpassword', 'quickstartdb', 3306, MYSQLI_CLIENT_SSL);
96-
if (mysqli_connect_errno($conn)) {
96+
if (mysqli_connect_errno()) {
9797
die('Failed to connect to MySQL: '.mysqli_connect_error());
9898
}
9999
```

0 commit comments

Comments
 (0)