Unknown system variable ‘profiling’

[url]http://bugs.mysql.com/bug.php?id=40542[/url]
[url]http://dev.mysql.com/doc/refman/5.1/en/news-5-1-28.html[/url]

[6 Nov 2008 10:20] Shane Bester

Description:
According to the 5.1.28 change history, profiling feature should be included.
Solaris build contained the feature, but not windows build:

on windows 5.1.28:

mysql> set profiling=1;
ERROR 1193 (HY000): Unknown system variable 'profiling'
mysql> show global variables like '%profil%';
Empty set (0.00 sec)

on solaris 5.1.28:

mysql> show global variables like '%profil%';
+------------------------+-------+
| Variable_name | Value |
+------------------------+-------+
| profiling | ON |
| profiling_history_size | 15 |
+------------------------+-------+

How to repeat:
[url]http://dev.mysql.com/doc/refman/5.1/en/news-5-1-28.html[/url]

"Added the SHOW PROFILES and SHOW PROFILE statements to display statement profile data"

"These options are enabled by default;"...

set profiling=1;


Suggested fix:
windows is a major platform, and this feature must be implemented/built in these builds.

[6 Nov 2008 10:44] Valeriy Kravchuk

Verified with 5.1.29 also:

C:\Program Files\MySQL\MySQL Server 5.0\bin>mysql -uroot -proot -P3310 test
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.29-rc-community MySQL Community Server (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> set profiling=1;
ERROR 1193 (HY000): Unknown system variable 'profiling'
mysql> show global variables like '%profil%';
Empty set (0.16 sec)

mysql> show profile;
ERROR 1289 (HY000): The 'SHOW PROFILE' feature is disabled; you need MySQL built
with 'enable-profiling' to have it working
mysql>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Pandas profiling是一个用于生成数据分析报告的Python库。它可以帮助我们快速地分析和了解数据集的概况、数据质量、缺失值、异常值等信息。通过使用Pandas profiling,我们可以快速了解数据集的基本特征,并可以生成一个包含各种统计指标、图表和交互式可视化的报告。 要使用pandas-profiling库,首先需要安装它。可以通过在命令行中使用pip命令进行安装。例如,可以运行以下命令来安装pandas-profiling: pip install pandas-profiling 安装完毕后,就可以在Python脚本中导入并使用pandas-profiling库了。可以按照以下基本用法进行使用: import numpy as np import pandas as pd from pandas_profiling import ProfileReport # 创建一个示例数据集 df = pd.DataFrame(np.random.rand(100, 5), columns=["a", "b", "c", "d", "e"]) # 生成报告 profile = ProfileReport(df, title="Pandas Profiling Report") profile.to_file("your_report.html") 上述代码创建了一个包含随机数据的DataFrame,并使用Pandas Profiling生成了一个报告。报告将保存为一个HTML文件,可以在浏览器中打开查看。报告中包含了数据集的各种统计指标、数据质量分析、缺失值分析、异常值分析等内容。 此外,pandas-profiling还支持许多其他功能和参数,比如可以设置报告的标题、生成简化版报告、自定义图表的参数等。可以参考官方文档或者示例代码来进一步了解和使用pandas-profiling库。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [Python之pandas-profiling:pandas-profiling库的简介、安装、使用方法之详细攻略](https://blog.csdn.net/qq_41185868/article/details/109710384)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值