iVX开发中整理的常见问题与回答(三)

iVX开发过程整理的常见问题与回答(二) ivx低代码常见问题及回答 阅读详情
如何使用第三方软件连接私有部署后的mysql数据库进行增删查改内容
1服务器登录MySQL数据库
mysql -u root -p password
use mysql

2登录成功后,查询MySQL数据库是否允许远程ip访问;
select host, user from user;

3添加远程访问权限;
//查看user表的root用户Host字段是localhost,说明root用户只能本地登录,现在把他改成远程登录
update user set host='%' where user='root';

// 123456 是连接是的密码,下面这段可以不输入,直接去下一步刷新权限
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'IDENTIFIED BY 'tande' WITH GRANT OPTION;

// 刷新MySQL的系统权限相关表,否则会出现拒绝访问
FLUSH PRIVILEGES;

4.打开navicat客户端,连接MySQL,主机填localhost,填写数据库的账号和密码
(需要同时填好ssh:里面填主机ip和登录账号密码)
 
在无法修改数据库权限时,如何通过ssh的账号密码,以及数据库的账号密码通过navicat连接到数据库呢
在navicat中新建连接并填写主机为127.0.0.1,填写好数据库的账号密码后,切换tab到ssh,勾上"使用ssh隧道",填写ssh的账号密码后,即可通过navicat连接成功
windows使用mysql workbench查看私有部署后mysql的内容时,提示count not acquire management
检查下《服务》中的MySQL80或者其它自己命名的MySQL服务是否开启
(右键计算机 管理 服务和应用程序)

如不存在mysql服务则需要使用 管理员权限运行cmd命令:
cd C:\Program Files\MySQL\MySQL Server 8.0\bin
mysqld --install
mysqld --initialize

执行完毕后右键计算机 管理 服务和应用程序,此时能找到mysql进程,右键 "启动"必须启动才有效
在私有部署的过程中,忘记了windows版本中mysql的密码,如何重置登录的密码
1.使用cmd 管理员权限打开后执行命令net stop mysql
2.桌面新建mysql-init.txt

内容填上
ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass';

3.回到cmd命令行执行进入到bin文件夹
cd C:\Program Files\MySQL\MySQL Server 8.0\bin\

输入命令后执行(注意路径要双斜杠)
mysqld --init-file=C:\\Users\\ih5\\Desktop\\mysql-init.txt --console
此时即可重置密码成功,再通过启动mysql
net start mysql
执行登录
mysql -u root -p
密码是之前填写在mysql-init.txt中的MyNewPass,使用MyNewPass即可登录成功
私有部署前安装mysql失败,如何清理掉旧的mysql版本
安装前,我们可以检测系统是否自带安装 MySQL:
rpm -qa | grep mysql
如果你系统有安装,那可以选择进行卸载:
rpm -e --nodeps mysql  // 强力删除模式,如果使用上面命令删除时,提示有依赖的其它文件,则用该命令可以对其进行强力删除
如果上述命令没反应,可使用下方命令(需修改mysql版本)
rpm -ev MySQL-client-5.5.25a-1.rhel5
最后再使用查到所有残留路径
find / -name mysql
在使用rm -rf 加上路径的方式删除残留路径
rm -rf /var/lib/mysql
私有部署前,mysql安装成功,如何通过临时登录密码登录
grep 'temporary password' /var/log/mysqld.log

初始进入到mysql,填写上面获取到的密码
mysql -u root -p
如果是8.0之后的mysql版本 ,需要先
ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass4!';
私有部署前,mysql安装后,如何修改root密码
登录mysql
mysql -u root -p
在通过命令
mysqladmin -u root password "yourPassword";
来修改
私有部署不想使用mysql,因为mysql被甲骨文公司收购后有被必源的潜在风险,如何替换为mariadb
相关命令如下
yum install mariadb-server mariadb
mariadb数据库的相关命令是:
systemctl start mariadb #启动MariaDB
systemctl stop mariadb #停止MariaDB
systemctl restart mariadb #重启MariaDB
systemctl enable mariadb #设置开机启动
私有部署后,如何修改数据库里面的内容
方法1.可以通过管理员的页面,在案例中去更新修改数据库的内容
方法2.可通过navicat连接到数据库后,在可视化界面中修改,进入到h5work后,并进入到对应nid的数据后,修改内容后,点击左下角的√即可更新成功
私有部署后,如何导出数据库中的内容
方法1.可使用ivx中的"excel数据处理"组件的动作"导出数组至Excel文件"
方法2.使用navicat连接后,左上角"文件"-"导出"-勾选好对应的数据表后,导出为xlsx
私有部署后,不使用本机的mysql,使用阿里云的rds,需要注意的地方
使用阿里云rds,需要登录到阿里云的rds的管理后台左侧"数据库管理",手动创建"h5work"数据库,并且在"账号管理"中创建账号,并绑定手动创建的h5work数据库
运行ivxbase基座的时候,提示main.go:146: Error 1045: Access denied for user 'root'@'localhost' (using password: YES)
需要检查config.json里面的mysql的登录密码是否填写错误,可在linux中输入命令登录来确认
mysql -u username -p,将"username"替换为要使用的用户名。如果密码正确,则系统将登录到MySQL服务器并显示MySQL命令行提示符。如果密码不正确,则系统将返回
类似的信息ERROR 1045 (28000): Access denied for user 'username'@'localhost' (using password: YES)
 
私有部署前,如何安装mysql客户端,进行查看是否能连接上远程的mysql客户端
1.sudo yum update
2.sudo yum install mysql
3使用mysql -h hostname -u username -p命令连接到MySQL服务器
其中,hostname是MySQL服务器的主机名或IP地址,username是MySQL的用户名。执行此命令后,系统将提示您输入密码以连接到MySQL服务器。
私有部署的时候,mysql异常,如何查看mysql的日志
在CentOS中,MySQL的日志文件通常存储在/var/log/mysql或/var/lib/mysql目录下
私有部署后,mysql无法启动的原因

有可能是MySQL端口被占用,默认为3306,需要确认3306没有被占用
也有可能是MySQL配置文件my.cnf被错误修改
私有部署前,如何安装windows的 redis ,来运行ivxbase.exe呢
下载安装:https://github.com/MicrosoftArchive/redis
安装成功后,进入到默认的redis安装好后的路径后,选中整个路径,输入cmd 回车后即可在当前目录打开cmd
输入对应命令
redis-server.exe  redis.windows.conf
如果出现bind no error
则按照顺序输入命令
1.redis-cli.exe
2.shutdow
3.exit
最后再次执行
redis-server.exe  redis.windows.conf
私有部署后,如何查看redis里面的内容
1修改redis.conf配置文件
进入编辑配置文件
[root@localhost bin]# vi redis.conf
在127.0.0.1前面加上注释(redis4.0以下版本默认是注释掉的)
2.受保护模式修改为no(redis4.0以下的版本没有这个模式配置,不用修改)后保存
3.最后通过第三方rediNav进行是add Connection,填写好ip地址和端口号连接即可
私有部署前,linux如何安装redis
下载redis
wget http://download.redis.io/releases/redis-7.0.1.tar.gz
解压
tar -zxvf redis-7.0.1.tar.gz

解压后进入redis文件夹
cd redis-7.0.1

安装编辑
make MALLOC=libc

cd src && make all
最后前台运行redis
./redis-server
私有部署后关闭ssh窗口,
从可用性到情感共鸣:构建下一代人机交互的智能伙伴 本文探讨了人机交互从功能满足到情感共鸣的范式转变,分析了情感计算的三大技术支柱——多模态感知网络、上下文感知引擎和情感生成模型,并展示了医疗健康、教育领域和智能家居等垂直场景的落地实践。文章还提出了设计下一代交互系统的五个原则,为构建更智能、更具情感共鸣的人机交互伙伴提供了实用指导。 阅读详情

相关推荐

ESP32S3新手避坑:用IDF5.0驱动GT911触摸屏,我踩过的三个雷都给你填平了

本文详细解析了在ESP32S3开发板上使用IDF5.0驱动GT911触摸屏时常见的三大问题:软重启失效、状态寄存器读取异常和初始化参数差异。通过逻辑分析和硬件调试工具,提供了针对性的解决方案和优化建议,帮助开发者高效完成触摸屏驱动开发。

weixin_42567497的博客 302

CTFshow MISC入门实战:010Editor+TweakPNG解决PNG隐写难题(附完整脚本)

本文详细介绍了在CTFshow MISC比赛中,如何利用010Editor和TweakPNG两款专业工具构建高效的PNG隐写分析工作流。文章从PNG文件结构解析入手,通过实战案例演示了如何协同使用010Editor进行二进制侦察与结构分析,以及使用TweakPNG进行数据块的精准编辑与删除,并最终提供了自动化分析脚本,帮助选手系统性地解决PNG隐写难题。

weixin_29252171的博客 82

新硬盘到手,在统信UOS或麒麟系统上怎么认?保姆级教程从识别到挂载一步到位

本文提供新硬盘在统信UOS或麒麟KYLINOS系统上的完整配置指南,从识别物理硬盘到挂载全流程详解。通过终端命令如df和lsblk,帮助用户完成硬盘识别、分区、文件系统创建及挂载配置,确保新硬盘顺利投入使用。

weixin_30698297的博客 456

基于MediaPipe的智能俯卧撑计数与姿势矫正系统

在现代健身和体能训练中,俯卧撑是最基础也是最有效的自重训练动作之一。然而,许多人在进行俯卧撑训练时常常存在姿势不正确、计数不准确等问题。本文将介绍如何利用计算机视觉和姿态估计技术,开发一个智能的俯卧撑计数与姿势矫正系统。

qq_36224726的博客 928

戴尔笔记本恢复开箱状态:Dell OEM系统原厂镜像完整恢复指南

很多用户在重装Windows时,常以为安装官方镜像就等于恢复出厂状态。实际上,OEM系统与通用镜像存在显著差异:品牌机预装系统中包含经过验证的驱动安装顺序、专属电源管理策略以及隐藏恢复分区,这些是普通安装镜像无法还原的。理解OEM恢复机制,不仅有助于解决系统兼容性问题,还能在二手交易或故障恢复时保留原厂软件栈与调校。针对戴尔机型,利用官方恢复工具拉取绑定Service Tag的原厂镜像,即可完整恢复开箱状态。本文以Dell Inspiron 5301为例,逐步讲解从制作恢复U盘、BIOS设置到驱动确认的完整

weixin_32183107的博客 454

ColorOS13系统账户锁与密码锁破解全指南:从恢复模式到激活绕过

本文针对ColorOS13系统用户,详细解析了忘记锁屏密码(数字/图案锁)和遭遇OPPO账户锁(激活锁)的合法解决方案。核心是通过官方恢复模式进行格式化操作清除锁屏密码,并强调账户锁需通过密码找回或官方售后等正规途径解除。文章旨在帮助设备合法所有者恢复使用权,并提供了安全操作指南与数据备份建议。

weixin_28304023的博客 985

【在 WSL2 GUI 中使用 pulseaudio 播放声音】

最近在搞一个Linux项目,由于WSL2中需要用到声音外放,无奈只能潜心研究。后来就使用了一种折中的方式替代,那就是pulseaudio。目前来讲WSL2对硬件外设的支持还是不太友好,关于USB的支持我之前在其他文章中已经论述过了,这里不讨论。1、Windows11别忘记打开声音2、可能有一定延迟,因为是通过网络传输的。3、效果的话只能见仁见智了,如果不能满足要求就安装一个实实在在的Ubuntu吧!

jiexijihe945的博客 4537

基于深度学习的商品标签识别系统:UI界面 + YOLOv8/v7/v6/v5代码 + 训练数据集

基于YOLO系列模型的商品标签识别系统能够有效解决商品信息提取的自动化问题。通过合理的数据集准备、模型训练和UI设计,我们可以实现一个功能强大的商品标签识别系统。希望本文提供的内容能够为大家提供有价值的帮助。

YOLO 478

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

迈瑞BS系列全自动生化分析仪LIS协议接口手册(内含HL7和ASTM)

迈瑞BS系列全自动生化分析仪LIS协议接口手册,内含HL7和ASTM)

上一篇: iVX开发过程整理的常见问题与回答(二)
下一篇: 你看好低代码平台的未来吗
Zero-code Fighter
博客等级 码龄7年 258粉丝 165原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值
⌂ 换网址