02-05-2013
We have been contemplating moving the forums MySQL dB to MariaDB sometime later this year or maybe next.
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
in a xen environment , i see a lot op dropped packets via netstat -i
Is this a sign of network problems, or is it normal to see this kind of numbers? i'm not sure how to interprete the data. is this normal, bad, critical. What are your stats on this?
I guess i have a xen issue of some sort,... (1 Reply)
Discussion started by: progressdll
1 Replies
2. SuSE
I have deleted a database. I restored it again with a backup.
Now we lost some data of two days.
Is it possible to restore this lost data? (5 Replies)
Discussion started by: Eastme
5 Replies
3. Ubuntu
This is the mistake that i've done :
First of all go to /etc/apt/sources.list folder from terminal or using file manager ...
than copy the content of sources.list in to your adequate source.list.
Create a file named sources.list.bt and paste the same content
In the end open the... (0 Replies)
Discussion started by: dud3
0 Replies
4. UNIX for Advanced & Expert Users
HI Team
Is there a way to track which user dropped the table in Teradata ?
Please share the query or approach .
Thanks (0 Replies)
Discussion started by: Perlbaby
0 Replies
5. Shell Programming and Scripting
Hi All,
As per my biz requirement, I need to drop the partition from our PROD table based on the retention period.
Hence I have written the script and called the drop partition procedure within the script.
The procedure is working fine and droped the partition from the table when I execute... (4 Replies)
Discussion started by: suresh_target
4 Replies
LEARN ABOUT PHP
mysql_get_host_info
MYSQL_GET_HOST_INFO(3) 1 MYSQL_GET_HOST_INFO(3)
mysql_get_host_info - Get MySQL host info
SYNOPSIS
Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should
be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include:
omysqli_get_host_info(3)
o PDO::getAttribute
string mysql_get_host_info ([resource $link_identifier = NULL])
DESCRIPTION
Describes the type of connection in use for the connection, including the server host name.
o $
link_identifier -The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect(3) is
assumed. If no such link is found, it will try to create one as if mysql_connect(3) was called with no arguments. If no connection
is found or established, an E_WARNING level error is generated.
Returns a string describing the type of MySQL connection in use for the connection or FALSE on failure.
Example #1
mysql_get_host_info(3) example
<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
printf("MySQL host info: %s
", mysql_get_host_info());
?>
The above example will output something similar to:
MySQL host info: Localhost via UNIX socket
mysql_get_client_info(3), mysql_get_proto_info(3), mysql_get_server_info(3).
PHP Documentation Group MYSQL_GET_HOST_INFO(3)