JDBC 通过SSH Tunnel连接MySQL数据库

JDBC 通过SSH Tunnel连接MySQL数据库,在获取connection 的时候总是报查询信息太多,是怎么回事?
具体信息如下:Exception in thread "main" com.mysql.jdbc.PacketTooBigException: Packet for query is too large (4739923 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.

2个回答

MySQL的一个系统参数:max_allowed_packet,其默认值为1048576(1M),
查询:show VARIABLES like '%max_allowed_packet%';
修改此变量的值:
MySQL安装目录下的
my.ini文件中的[mysqld]段中的"max_allowed_packet = 1M",(可能有些文件会没有这一行的)
格式为:
[mysqld]
max_allowed_packet = 1M ( 将1M更改为16M(如果没有这行内容,增加一行)),
保存,
重起MySQL服务。
现在可以load大于1M的文件了
不重启mysql使my.cnf生效,命令行下配置like 'max_allowed_packet'

wzcdejava
wzcdejava 可是我只是请求一个连接而已,并没有做其他任何的操作。为什么会产生这么大的参数内容呢?
4 年多之前 回复

时间:2013-04-26 18:04来源:Internet 作者:Internet 点击:599次

有时候我们无法直接访问某台数据库,因为没有授权或者ip限制,但是可以通过登陆其他机器来访问,如果这台服务器安装有SSH,就可以方便的在本地通过该服务的端口映射来代理访问数据库。Navicat就有这个方

有时候我......
答案就在这里:JDBC通过SSH Tunnel连接MySQL数据库
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
如何使用go-sql-driver通过SSH通过标准TCP / IP连接到MySQL?

<div class="post-text" itemprop="text"> <p>I'm currently using MySQL Workbench on Windows 8.1 to access a remote MySQL database on a Linux server using Standard TCP/IP over SSH. Basically I have the following information:</p> <ul> <li>SSH Hostname: dbserver.myorg.com:<em>ssh-port</em></li> <li>SSH Username: myRemoteLoginUsername</li> <li>SSH Password: (stored in vault)</li> <li><p>SSH Key File: <em>path to a local .ppk file</em></p></li> <li><p>MySQL Hostname: 127.0.0.1</p></li> <li>MySQL Server Port: 3306</li> <li>Username: myRemoteDbUsername</li> <li>Password: (stored in vault)</li> <li>Default schema: myRemoteDatabaseName</li> </ul> <p>How can I connect to the database from a Go command application using github.com/go-sql-driver/mysql?</p> <p>how should my DataSourceName string in the sql.Open statement look like?</p> <pre><code> db, err := sql.Open("mysql", &lt;DataSourceName&gt; ) {} </code></pre> <p>Is there any extra work needed to prepare a working DataSourceName string? </p> <p>On my Windows PC I have putty installed. I read about tunneling and added a Dynamic tunnel for port 3306 (D3306). I expected this will let me connect using a connection to localhost:3306 and automatically forward the request to the remote db whenever I'm connected to the remote host with putty, but this didn't work as expected either.</p> </div>

通过SSH golang连接到mongoDB

<div class="post-text" itemprop="text"> <p>I need to connect to remote mongoDB server via ssh, i was doing this earlier with mysql and its looks like :</p> <pre><code>sshcon, err := ssh.Dial("tcp", fmt.Sprintf("%s:%d", sshHost, sshPort), sshConfig) if err == nil { defer sshcon.Close() mysql.RegisterDial("mysql+tcp", (&amp;ViaSSHDialer{sshcon}).Dial) </code></pre> <p>Is there a similar function like mysql.RegisterDial in mgo package?</p> </div>

PHP-MySQL-SSH:如何在使用SSH隧道连接时从PHP连接到mysql数据库(托管在CentOS上)

<div class="post-text" itemprop="text"> <p>I'm having an issue and I don't know if it's related to the SSH tunnel but here's the deal.</p> <p>I have a simple function to connect to the database from php and it works fine locally but it doesn't work to connect to a remote server.</p> <blockquote> <p><strong>connect.php</strong></p> </blockquote> <pre><code>$dbhost = '172.1.2.3'; $dbuser = 'root'; $dbpass = 'testpass'; $db = 'testdb'; function dbconnect() { $conn = mysqli_connect($dbhost, $dbuser, $dbpass, $testdb); $conn-&gt;set_charset("utf8"); error_reporting( E_ALL &amp; ~E_DEPRECATED &amp; ~E_NOTICE ); if(!$conn) { die('We are unable to connect you to the site! --&gt; '.mysqli_error()); } else { return $conn; } } </code></pre> <p>Then, I include this file say on <strong>index.php</strong> and do the following.</p> <pre><code>&lt;?php include 'connect.php'; $conn = dbconnect(); ?&gt; //html content below </code></pre> <p>the problem I'm having is that when I do the $conn = dbconnect(); the index.php page doesn't load, I just get a blank page. if I comment out $conn = dbconnect(); then the HTML content loads just fine.</p> <p>I'm not getting error outputs on the console either so I'm a bit clueless as to what the problem might be and I don't know if it's related to the SSH tunneling which I don't know how to include it on the php connection function.</p> <p>I do however, have to use the SSH credentials to connect to the database from any mysql manager so I want to believe I am missing something in the function.</p> <p>if it helps, the server is running PHP 5.6 and mysql 5.7.22</p> <p>Any help is appreciated.</p> <p>Thanks,</p> </div>

PDO通过隧道连接到外部数据库

<div class="post-text" itemprop="text"> <p>I'd like to ask you, how to connect to an external database via tunnel using PDO?</p> <p>My Database class is:</p> <pre><code>&lt;?php class Database { //Server Params private $server_addres = 'xx.xx.xx'; private $port = '222'; private $user = 'myuser'; private $pass = 'mypass'; //DB Params private $host = '127.0.0.1'; private $db_name = 'mydbname'; private $username = 'mydbuser'; private $password = 'mydbpassowrd'; private $conn; //DB Connect public function connect() { $this-&gt;conn = null; try { //??? shell_exec(); $this-&gt;conn = new PDO('mysql:host='.$this-&gt;host.';dbname='.$this-&gt;db_name, $this-&gt;username, $this-&gt;passowrd); $this-&gt;conn-&gt;setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch( PDOException $e ) { echo 'Connection Error: ' . $e-&gt;getMessage(); } return $this-&gt;conn; } } </code></pre> <p>Should I use shell_exec() function, if yes how?</p> <p>Thank you for your help!</p> </div>

php(ssh2,tunnel),我无法连接我的远程mysql服务器

<div class="post-text" itemprop="text"> <pre><code>&lt;? $server_ip = "my ubuntu ip"; $server_port = "my ubuntu port"; $server_user = 'my id'; $user_pw = 'my pw'; $connection = ssh2_connect($server_ip, $server_port); if (ssh2_auth_password($connection, $server_user, $user_pw)) { echo "Authentication Successful!&lt;br&gt;"; } else { echo "Authentication failed..."; } $mysql_ip = '10.41.12.71'; $mysql_default_port = '3306'; $tunnel = ssh2_tunnel($connection,$mysql_ip,$mysql_default_port); if($tunnel) { echo "tunnel created&lt;br&gt;"; }else { echo "tunnel creation failed"; die(); } $mysql_user = 'root'; $mysql_user_pw = 'tkakcy159*'; $dbname = 'test'; // $dbconn = mysqli_connect($tunnel,$mysql_user,$mysql_user_pw,$dbname); $dbconn = new mysqli($tunnel, $mysql_user, $mysql_user_pw, $dbname); if ($dbconn) { echo $dbname." connected&lt;br&gt;"; } else { echo "DBConnection failed: " . $dbconn-&gt;connect_error; } // $insert_sql = " insert into test_table values('0001','wlsdhks0423'); "; // $result = mysqli_query($dbconn,$insert_sql); // if($result) { // echo "data insert success&lt;br&gt;"; // } // else { // echo "data insert failed : ".mysqli_error($dbconn); // } $select_sql = " select * from test_table; "; $result = mysqli_query($dbconn,$select_sql); if($result) { echo "selected rows : ".mysqli_num_rows($result)."&lt;br&gt;"; $row = mysqli_fetch_array($result); $key = $row['test_key']; $value = $row['test_value']; echo "key = ".$key."&lt;br&gt;value = ".$value; }else { echo mysqli_error($dbconn); } // phpinfo(); ?&gt; </code></pre> <p>This is my code. mysql is on ubuntu device. And I think I can access ubuntu, but mysql connection is failed</p> <p>this php's output is </p> <pre><code>Authentication Successful! tunnel created test connected </code></pre> <p>and if i use this line</p> <pre><code>$dbconn = mysqli_connect($tunnel,$mysql_user,$mysql_user_pw,$dbname); </code></pre> <p>then output is</p> <pre><code>Authentication Successful! tunnel created DBConnection failed: </code></pre> <p>The obvious thing is that $connection and $tunnel has no problem. I had tested them. And works well.</p> <p>please help me!</p> </div>

远程数据库上的PHP mongoDB SSH隧道

<div class="post-text" itemprop="text"> <p>I am using mongoDB with PHP. on local system it works fine. Now I am trying to access mongoDB cluster on AWS which is secured by SSH. I am using below code </p> <pre><code>$conn = new MongoClient('mongodb://SSH Hostname', [ 'username' =&gt; 'username', 'password' =&gt; '', 'db' =&gt; 'DBname' ]); print_r($conn); </code></pre> <p>It gives below error</p> <pre><code>Type: MongoConnectionException Message: Failed to connect to: SSH Hostname :27017: Connection refused </code></pre> <p>I can connect DB from MongoDB compass or Studio 3T. How I can use SSH while connecting using PHP</p> </div>

ssh 数据库连接失败,,,,,,,

2015-06-22 17:24:37,058 WARN [org.hibernate.cfg.SettingsFactory] - Could not obtain connection to query metadata org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied ) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:111) at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2119) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2115) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1339) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779) at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:188) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:388) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:381) at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:564) at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:431) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186) at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:366) at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:752) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:359) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:531) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) ... 48 more

连接到ubuntu服务器中的mysql数据库

<div class="post-text" itemprop="text"> <p>I am using below code to connect <code>MySQL</code> database in <code>PHP</code>.</p> <pre><code>try { shell_exec("ssh -f -L 3307:127.0.0.1:3306 ronak@server_ip sleep 60 &gt;&gt; logfile"); $this-&gt;_conn = $this-&gt;dbh = new PDO('mysql:host=127.0.0.1;dbname=my_db', DB_USER, DB_PASS); $this-&gt;dbh-&gt;setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (PDOException $e) { die("Couldn't connect to database. Please try again!"); } </code></pre> <p>I want to direct connect with remote MySQL host. Server is on azure virtual machine. How can I do such a configurations?</p> <p>I already opened <code>3306</code> port in azure portal for MySQL. I don't know how to use it in here without ssh tunnel.</p> <p>Thanks.</p> </div>

Windows下安装OpenSSH并用其ssh命令连接远程机器后Permission denied

我在Windows下安装完OpenSSH后通过SSH、SCP命令连接Linux机器并实现传输文件功能。 整个步骤是能完成的,但其中有一点就是在输入SSH、SCP命令后,系统会提示我输入密码,但第一次会什么都没输入直接报Permission denied,就像是系统自己打了个回车,然后我再输入密码,正确进入。由于我需要对命令行进行抓取,denied这个字符是我自动提示报错的信息,这样抓取会导致误报,所以想知道是否可以避免这个情况出现 c:\test>ssh -p 22 -o StrictHostKeyChecking=no test@192.168.2.2 test@192.168.2.2's password: (这里我根本没输入任何字符,它直接跳出了下一行) Permission denied, please try again. test@192.168.2.2's password: (这里我输入密码,正常进入) Last login: Tue May 16 15:21:55 2017 from 192.168.2.2

如何使用PHP通过ssh连接到imap

<div class="post-text" itemprop="text"> <p>Given PHP 7.2, php ssh2 extension and Ubuntu 18.04.1 LTS. I want to communicate with imap server through ssh server. </p> <p>Direct connection:</p> <pre><code>$stream = fsockopen('ssl://imap.gmail.com', 993); for($i = 0; $i&lt;=5; $i++){ var_dump(fgets($stream)); sleep(2); } </code></pre> <p>Result:</p> <pre><code>"* OK Gimap ready for requests from 178.150.167.73 u11mb208610367lfc " </code></pre> <p>Connection through ssh:</p> <pre><code>$ssh_conn = ssh2_connect($sshIp, $sshPort); if ($ssh_conn &amp;&amp; ssh2_auth_password($ssh_conn, $sshUsername, $sshPassword)) { $stream = ssh2_tunnel($ssh_conn, 'imap.gmail.com', 993); for ($i = 0; $i &lt;= 5; $i++) { var_dump(fgets($stream)); sleep(2); } } </code></pre> <p>Output:</p> <pre><code>bool(false) bool(false) bool(false) bool(false) bool(false) bool(false) </code></pre> <p>Ssh server 100% working. I tried it with another tools including extra php extension for imap via ssh. But I need to use exactly this direct way.</p> </div>

Linux下使用nodejs ssh登陆到另一台主机

const fs = require('fs'); const child_process = require('child_process'); var workerProcess = child_process.exec('ssh mxl@10.170.15.8 , function (error, stdout, stderr) { if (error) { console.log(error.stack); console.log('Error code: '+error.code); console.log('Signal received: '+error.signal); } console.log('stdout: ' + stdout); console.log('stderr: ' + stderr); }); workerProcess.on('exit', function (code) { console.log('子进程已退出,退出码 '+code); }); 如上面的程序我想把密码直接通过这个函数输入进去,而不是在终端输入。怎么实现呢?

使用golang反向SSH

<div class="post-text" itemprop="text"> <p>I have a server and a remote computer. Now I want to access the remote computer via SSH but it is possible that it is behind a NAT. That's one of the reasons I want a reverse SSH connection.</p> <p>The idea is to establish a connection from the remote computer to the server and use this connection to communicate via SSH from the server to the remote computer.</p> <p>With OpenSSH this is quite easy. From the remote computer I open the reverse SSH tunnel:</p> <pre><code>ssh- R 19999:localhost:22 user@192.168.0.10 </code></pre> <p>Now I can use this from the server side with:</p> <pre><code>ssh localhost -p 19999 </code></pre> <p>I want to achieve the same behavior with a go application and the go SSH library on the remote computer. The server will still use OpenSSH so it should not be changed.</p> <p>I know how to connect to a computer via SSH from go but how can the reverse part be achieved?</p> <pre><code>func main() { config := &amp;ssh.ClientConfig{ User: "vagrant", Auth: []ssh.AuthMethod{ ssh.Password("vagrant"), }, } conn, err := ssh.Dial("tcp", "192.168.0.10:22", config) if err != nil { panic("Failed to dial: " + err.Error()) } } </code></pre> </div>

用IntelliJ整合SSH框架出现的问题

04-Dec-2016 17:16:39.373 INFO [RMI TCP Connection(5)-127.0.0.1] org.springframework.web.context.ContextLoader.initWebApplicationContext Root WebApplicationContext: initialization started 04-Dec-2016 17:16:39.631 INFO [RMI TCP Connection(5)-127.0.0.1] org.springframework.context.support.AbstractApplicationContext.prepareRefresh Refreshing Root WebApplicationContext: startup date [Sun Dec 04 17:16:39 CST 2016]; root of context hierarchy 04-Dec-2016 17:16:39.734 INFO [RMI TCP Connection(5)-127.0.0.1] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/bean.xml] 04-Dec-2016 17:16:40.433 INFO [RMI TCP Connection(5)-127.0.0.1] org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@75ff547c: defining beans [touristDAO,touristService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,ht,dataSource,sessionFactory,txManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy 04-Dec-2016 17:16:40.589 INFO [RMI TCP Connection(5)-127.0.0.1] com.mchange.v2.log.MLog. MLog clients using java 1.4+ standard logging. 04-Dec-2016 17:16:40.677 INFO [RMI TCP Connection(5)-127.0.0.1] com.mchange.v2.c3p0.C3P0Registry.banner Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10] 04-Dec-2016 17:16:41.795 INFO [RMI TCP Connection(5)-127.0.0.1] org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@75ff547c: defining beans [touristDAO,touristService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,ht,dataSource,sessionFactory,txManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy 04-Dec-2016 17:16:41.811 SEVERE [RMI TCP Connection(5)-127.0.0.1] org.springframework.web.context.ContextLoader.initWebApplicationContext Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'touristDAO': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ht' defined in ServletContext resource [/WEB-INF/classes/bean.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/bean.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Unable to read XM控制台报错,这样该怎么解决呢?

golang ssh拨号超时

<div class="post-text" itemprop="text"> <p>What is the best way to create DialTimeout on ssh connection? For example, this code always returns "Ping deadline exceed":</p> <pre><code>func (t *Tunnel) ping(sshConn *ssh.Client, addr string) (net.Conn, error) { var ( conn net.Conn err error done chan int ) go func() { time.Sleep(getSeconds(10)) err = errors.New("Ping deadline exceed") log.Printf("%v Status: bad %s -&gt; %s", err, t.serverAddr, addr) t.writeStatus(bad) done &lt;- 1 close(done) }() go func() { conn, err = sshConn.Dial("tcp", addr) if err != nil { t.writeStatus(bad) log.Printf("%v Status: bad %s -&gt; %s", err, t.serverAddr, addr) } done &lt;- 1 close(done) }() &lt;-done return conn, err } </code></pre> <p>PS Timeout in ssh.ClientConfig is set to 5 seconds</p> </div>

在ssh2中设置ProxyCommand和ProxyAgent

<div class="post-text" itemprop="text"> <p>I need to establish a connection to an remote ssh server (debug2) via php. Inside the console everything works fine for me, but I doesnt get my php code running. I get following errormessage:</p> <blockquote> <p>ssh2_auth_pubkey_file(): Authentication failed for [Username] using public key: Callback returned error</p> </blockquote> <p>How can I establish a proper connection to debug2 without an registration on this.example.com?</p> <p>My current code look like this:</p> <pre><code>if (!function_exists("ssh2_connect")) die("function ssh2_connect doesn't exist" . PHP_EOL); if(!($con = ssh2_connect("this.example.com", 22))){ echo "fail: unable to establish connection" . PHP_EOL; } else { if(!ssh2_auth_pubkey_file($con, "[Username]", $pubkeyfile, $privkeyfile)) { echo "fail: unable to authenticate" . PHP_EOL; //The point where the script fails } else { echo "okay: logged in..." . PHP_EOL; $tunnel = ssh2_tunnel($con, 'xx.xx.xxx.17', 22); if (!($stream = ssh2_exec($tunnel, "ls -al" ))) { echo "fail: unable to execute command" . PHP_EOL; } else { stream_set_blocking($stream, true); $data = ""; while ($buf = fread($stream,4096)) { $data .= $buf; } fclose($stream); } } } </code></pre> <p>My current ssh_config:</p> <pre><code>Host example HostName this.example.com User [Username] ForwardAgent yes IdentityFile ~/.ssh/id_rsa Host debug2 ProxyCommand ssh exmaple -W xx.xx.xxx.17:22 User [otherusername2] IdentityFile ~/.ssh/id_rsa </code></pre> </div>

SSH隧道和Android

<div class="post-text" itemprop="text"> <p>I am working on a project for an app that allows Android to remotely connect to an MySQL Database using a PHP API. </p> <p>Users have requested that the app should support SSH Tunneling which I have been looking into but I have a few concerns regarding this. </p> <p>How the app works is the API runs on my web server (the user has the option to install on there own servers but most don't) so Android sends a post to the PHP API, and then PHP directly connect to a MySQL Host that was sent in the post message from android, this is all working fine.</p> <p>However, if I want to support SSH tunneling, my understanding is that my Android app would still post to my PHP API, but instruct to open an SSH tunnel, for example forwarding local port 3307 to remote host example.com on port 3306. Then PHP would connect to MySQL via 127.0.0.1 on port 3307. </p> <p>This is fine, except if another user then decides to use port 3307 at the same time another user is doing a tunnel the second user would clash as the first user already has 3307 open so they would need to pick a new port. </p> <p>I thought that then the best work around for this would be the API has a pool of sockets that it can use and picks one that is free and connects via that local port via the specified remote port that android sent. E.g. the API will for example pick local port 5000 and forward to 3306. </p> <p>My worry here is that although this would work, there is a potential risk that two users could make a request at the same time, and the API picks the same port number to use as a local port, e.g. 5000, as this port is technically free but then one user would successfully connect, and the second user would end up connecting to the first users servers, and hopefully fail to authenticate but still, potential risk here. </p> <p>Am I thinking of this the correct way, or is there a better way, or should I only support the SSH tunneling option if the user is running the API from there own web server instead of mine so there would be no risk of clashing with another unrelated user. </p> </div>

如何通过PHP中的ssh连接到imap

<div class="post-text" itemprop="text"> <p>I am trying to communicate with imap via ssh in PHP. The following code demonstrates how I connect to imap via ssh:</p> <pre><code>$ssh_conn = ssh2_connect($sshIP, $sshPORT); ssh2_auth_password($ssh_conn, $sshUSERNAME, $sshPASSWORD); $stream = ssh2_tunnel($c, $imapSERVER, $imapPORT); </code></pre> <p>And seems everything is ok, I get connected to imap via ssh. No errors, and I have resource in $stream.</p> <p>Then I try to write LOGIN command to stream, like this:</p> <pre><code>fwrite($stream, "A1 LOGIN username password "); </code></pre> <p>Problem is that server doesn't response anything. </p> <p>I try to get response like this:</p> <pre><code>while (true) { echo fread($stream, 4096); } </code></pre> <p>Don't worry about codes for writing and reading data to imap server, this I have written just for example. This is not important here. The problem is that I don't get any response from imap. Always empty string. </p> <p>I am sure, writing and reading methods work well, because I use big HORDE library <a href="https://dev.horde.org/imap_client/" rel="nofollow noreferrer">https://dev.horde.org/imap_client/</a>, and when I use stream of SOCKS5 or HTTPS - it work well! </p> <p>Also I tried different SSH servers - not success.</p> <p>So, where might be a problem ? Also the next information may be useful: I get different information when using stream_get_meta_data() for ssh and socks5 stream.</p> <p>SSH:</p> <pre><code>array(8) { ["exit_status"]=&gt; int(0) ["timed_out"]=&gt; bool(false) ["blocked"]=&gt; bool(true) ["eof"]=&gt; bool(false) ["stream_type"]=&gt; string(12) "SSH2 Channel" ["mode"]=&gt; string(2) "r+" ["unread_bytes"]=&gt; int(0) ["seekable"]=&gt; bool(false) } </code></pre> <p>SOCKS5:</p> <pre><code>array(8) { ["crypto"]=&gt; array(4) { ["protocol"]=&gt; string(7) "TLSv1.2" ["cipher_name"]=&gt; string(27) "ECDHE-RSA-AES128-GCM-SHA256" ["cipher_bits"]=&gt; int(128) ["cipher_version"]=&gt; string(7) "TLSv1.2" } ["timed_out"]=&gt; bool(false) ["blocked"]=&gt; bool(true) ["eof"]=&gt; bool(false) ["stream_type"]=&gt; string(14) "tcp_socket/ssl" ["mode"]=&gt; string(2) "r+" ["unread_bytes"]=&gt; int(0) ["seekable"]=&gt; bool(false) } </code></pre> <p>Also I notified important thing, it is working if I use port 143 for imap server. And doesn't work if I use port 993. But 143 is not ssl. Therefore I can't even use LOGIN command. I think cause touches with ssl. But how to set ssl for ssh tunnel..... ? </p> </div>

通过PHP脚本隧道连接到MySQL

<div class="post-text" itemprop="text"> <p>Here's the question, I need to connect to a remote MySQL database from my C# Application, problem is the MySQL instance will block all access to all IP's apart from localhost, this can not be changed as its too much of a security issue.</p> <p>The question is, is it possible to connect via a tunnel instead to a php script hosted on the server, this would then act as the mysql connection.</p> <p>Any ideas and suggestions?</p> </div>

ssh client 报 algorithm negotiation failed 错误,修改sshd_config,重启服务失败

1)window系统打开ssh client 连接centos失败提示 ![图片说明](https://img-ask.csdn.net/upload/201911/19/1574166765_855902.png) 2)报 algorithm negotiation failed错误 3)根据网上查找在centos中修改配置文件/etc/ssh/sshd_config # vi /etc/ssh/sshd_config 添加 Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,arcfour128,arcfour256,arcfour,blowfish-cbc,cast128-cbc MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-sha1-96,hmac-md5-96 KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nis tp521,diffie-hellman-group1-sha1,curve25519-sha256@libssh.org 保存 4)重启服务 service sshd restart 5)重启失败 : ![图片说明](https://img-ask.csdn.net/upload/201911/19/1574167322_773993.jpg) 应该如何解决

linux下利用/proc进行进程树的打印

在linux下利用c语言实现的进程树的打印,主要通过/proc下的目录中的进程文件,获取status中的进程信息内容,然后利用递归实现进程树的打印

设计模式(JAVA语言实现)--20种设计模式附带源码

课程亮点: 课程培训详细的笔记以及实例代码,让学员开始掌握设计模式知识点 课程内容: 工厂模式、桥接模式、组合模式、装饰器模式、外观模式、享元模式、原型模型、代理模式、单例模式、适配器模式 策略模式、模板方法模式、观察者模式、迭代器模式、责任链模式、命令模式、备忘录模式、状态模式、访问者模式 课程特色: 笔记设计模式,用笔记串连所有知识点,让学员从一点一滴积累,学习过程无压力 笔记标题采用关键字标识法,帮助学员更加容易记住知识点 笔记以超链接形式让知识点关联起来,形式知识体系 采用先概念后实例再应用方式,知识点深入浅出 提供授课内容笔记作为课后复习以及工作备查工具 部分图表(电脑PC端查看):

Python数据分析与挖掘

92讲视频课+16大项目实战+源码+¥800元课程礼包+讲师社群1V1答疑+社群闭门分享会=99元 &nbsp; 为什么学习数据分析? &nbsp; &nbsp; &nbsp; 人工智能、大数据时代有什么技能是可以运用在各种行业的?数据分析就是。 &nbsp; &nbsp; &nbsp; 从海量数据中获得别人看不见的信息,创业者可以通过数据分析来优化产品,营销人员可以通过数据分析改进营销策略,产品经理可以通过数据分析洞察用户习惯,金融从业者可以通过数据分析规避投资风险,程序员可以通过数据分析进一步挖掘出数据价值,它和编程一样,本质上也是一个工具,通过数据来对现实事物进行分析和识别的能力。不管你从事什么行业,掌握了数据分析能力,往往在其岗位上更有竞争力。 &nbsp;&nbsp; 本课程共包含五大模块: 一、先导篇: 通过分析数据分析师的一天,让学员了解全面了解成为一个数据分析师的所有必修功法,对数据分析师不在迷惑。 &nbsp; 二、基础篇: 围绕Python基础语法介绍、数据预处理、数据可视化以及数据分析与挖掘......这些核心技能模块展开,帮助你快速而全面的掌握和了解成为一个数据分析师的所有必修功法。 &nbsp; 三、数据采集篇: 通过网络爬虫实战解决数据分析的必经之路:数据从何来的问题,讲解常见的爬虫套路并利用三大实战帮助学员扎实数据采集能力,避免没有数据可分析的尴尬。 &nbsp; 四、分析工具篇: 讲解数据分析避不开的科学计算库Numpy、数据分析工具Pandas及常见可视化工具Matplotlib。 &nbsp; 五、算法篇: 算法是数据分析的精华,课程精选10大算法,包括分类、聚类、预测3大类型,每个算法都从原理和案例两个角度学习,让你不仅能用起来,了解原理,还能知道为什么这么做。

广工操作系统课程设计(文档+代码+可执行文件)

实现作业调度(先来先服务)、进程调度功能(时间片轮转) 实现内存管理功能(连续分配)。 实现文件系统功能(选作) 这些功能要有机地连接起来

Only老K说-爬取妹子图片(简单入门)

安装第三方请求库 requests 被网站禁止了访问 原因是我们是Python过来的 重新给一段 可能还是存在用不了,使用网页的 编写代码 上面注意看匹配内容 User-Agent:请求对象 AppleWebKit:请求内核 Chrome浏览器 //请求网页 import requests import re //正则表达式 就是去不规则的网页里面提取有规律的信息 headers = { 'User-Agent':'存放浏览器里面的' } response = requests.get

linux“开发工具三剑客”速成攻略

工欲善其事,必先利其器。Vim+Git+Makefile是Linux环境下嵌入式开发常用的工具。本专题主要面向初次接触Linux的新手,熟练掌握工作中常用的工具,在以后的学习和工作中提高效率。

Python代码实现飞机大战

文章目录经典飞机大战一.游戏设定二.我方飞机三.敌方飞机四.发射子弹五.发放补给包六.主模块 经典飞机大战 源代码以及素材资料(图片,音频)可从下面的github中下载: 飞机大战源代码以及素材资料github项目地址链接 ————————————————————————————————————————————————————————— 不知道大家有没有打过飞机,喜不喜欢打飞机。当我第一次接触这个东西的时候,我的内心是被震撼到的。第一次接触打飞机的时候作者本人是身心愉悦的,因为周边的朋友都在打飞机, 每

Python数据清洗实战入门

本次课程主要以真实的电商数据为基础,通过Python详细的介绍了数据分析中的数据清洗阶段各种技巧和方法。

2019 Python开发者日-培训

本次活动将秉承“只讲技术,拒绝空谈”的理念,邀请十余位身处一线的Python技术专家,重点围绕Web开发、自动化运维、数据分析、人工智能等技术模块,分享真实生产环境中使用Python应对IT挑战的真知灼见。此外,针对不同层次的开发者,大会还安排了深度培训实操环节,为开发者们带来更多深度实战的机会。

apache-jmeter-5.1.1(Requires Java 8+).zip

。Apache JMeter 5.1.1 (Requires Java 8+),需要jdk8以上的版本。

数通HCNP中文理论全套教材.rar

内涵HCNP-IENP中文理论书-内文,

Python可以这样学(第四季:数据分析与科学计算可视化)

董付国老师系列教材《Python程序设计(第2版)》(ISBN:9787302436515)、《Python可以这样学》(ISBN:9787302456469)配套视频,在教材基础上又增加了大量内容,通过实例讲解numpy、scipy、pandas、statistics、matplotlib等标准库和扩展库用法。

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

我以为我对Mysql事务很熟,直到我遇到了阿里面试官

太惨了,面试又被吊打

2019 AI开发者大会

2019 AI开发者大会(AI ProCon 2019)是由中国IT社区CSDN主办的AI技术与产业年度盛会。多年经验淬炼,如今蓄势待发:2019年9月6-7日,大会将有近百位中美顶尖AI专家、知名企业代表以及千余名AI开发者齐聚北京,进行技术解读和产业论证。我们不空谈口号,只谈技术,诚挚邀请AI业内人士一起共铸人工智能新篇章!

图书管理系统(Java + Mysql)我的第一个完全自己做的实训项目

图书管理系统 Java + MySQL 完整实训代码,MVC三层架构组织,包含所有用到的图片资源以及数据库文件,大三上学期实训,注释很详细,按照阿里巴巴Java编程规范编写

Python数据挖掘简易入门

&nbsp; &nbsp; &nbsp; &nbsp; 本课程为Python数据挖掘方向的入门课程,课程主要以真实数据为基础,详细介绍数据挖掘入门的流程和使用Python实现pandas与numpy在数据挖掘方向的运用,并深入学习如何运用scikit-learn调用常用的数据挖掘算法解决数据挖掘问题,为进一步深入学习数据挖掘打下扎实的基础。

C/C++学习指南全套教程

C/C++学习的全套教程,从基本语法,基本原理,到界面开发、网络开发、Linux开发、安全算法,应用尽用。由毕业于清华大学的业内人士执课,为C/C++编程爱好者的教程。

微信公众平台开发入门

本套课程的设计完全是为初学者量身打造,课程内容由浅入深,课程讲解通俗易懂,代码实现简洁清晰。通过本课程的学习,学员能够入门微信公众平台开发,能够胜任企业级的订阅号、服务号、企业号的应用开发工作。 通过本课程的学习,学员能够对微信公众平台有一个清晰的、系统性的认识。例如,公众号是什么,它有什么特点,它能做什么,怎么开发公众号。 其次,通过本课程的学习,学员能够掌握微信公众平台开发的方法、技术和应用实现。例如,开发者文档怎么看,开发环境怎么搭建,基本的消息交互如何实现,常用的方法技巧有哪些,真实应用怎么开发。

三个项目玩转深度学习(附1G源码)

从事大数据与人工智能开发与实践约十年,钱老师亲自见证了大数据行业的发展与人工智能的从冷到热。事实证明,计算机技术的发展,算力突破,海量数据,机器人技术等,开启了第四次工业革命的序章。深度学习图像分类一直是人工智能的经典任务,是智慧零售、安防、无人驾驶等机器视觉应用领域的核心技术之一,掌握图像分类技术是机器视觉学习的重中之重。针对现有线上学习的特点与实际需求,我们开发了人工智能案例实战系列课程。打造:以项目案例实践为驱动的课程学习方式,覆盖了智能零售,智慧交通等常见领域,通过基础学习、项目案例实践、社群答疑,三维立体的方式,打造最好的学习效果。

2021考研数学张宇基础30讲.pdf

张宇:博士,全国著名考研数学辅导专家,教育部“国家精品课程建设骨干教师”,全国畅销书《张宇高等数学18讲》《张宇线性代数9讲》《张宇概率论与数理统计9讲》《张宇考研数学题源探析经典1000题》《张宇考

专为程序员设计的数学课

<p> 限时福利限时福利,<span>15000+程序员的选择!</span> </p> <p> 购课后添加学习助手(微信号:csdn590),按提示消息领取编程大礼包!并获取讲师答疑服务! </p> <p> <br> </p> <p> 套餐中一共包含5门程序员必学的数学课程(共47讲) </p> <p> 课程1:《零基础入门微积分》 </p> <p> 课程2:《数理统计与概率论》 </p> <p> 课程3:《代码学习线性代数》 </p> <p> 课程4:《数据处理的最优化》 </p> <p> 课程5:《马尔可夫随机过程》 </p> <p> <br> </p> <p> 哪些人适合学习这门课程? </p> <p> 1)大学生,平时只学习了数学理论,并未接触如何应用数学解决编程问题; </p> <p> 2)对算法、数据结构掌握程度薄弱的人,数学可以让你更好的理解算法、数据结构原理及应用; </p> <p> 3)看不懂大牛代码设计思想的人,因为所有的程序设计底层逻辑都是数学; </p> <p> 4)想学习新技术,如:人工智能、机器学习、深度学习等,这门课程是你的必修课程; </p> <p> 5)想修炼更好的编程内功,在遇到问题时可以灵活的应用数学思维解决问题。 </p> <p> <br> </p> <p> 在这门「专为程序员设计的数学课」系列课中,我们保证你能收获到这些:<br> <br> <span> </span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">①价值300元编程课程大礼包</span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">②应用数学优化代码的实操方法</span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">③数学理论在编程实战中的应用</span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">④程序员必学的5大数学知识</span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">⑤人工智能领域必修数学课</span> </p> <p> <br> 备注:此课程只讲程序员所需要的数学,即使你数学基础薄弱,也能听懂,只需要初中的数学知识就足矣。<br> <br> 如何听课? </p> <p> 1、登录CSDN学院 APP 在我的课程中进行学习; </p> <p> 2、登录CSDN学院官网。 </p> <p> <br> </p> <p> 购课后如何领取免费赠送的编程大礼包和加入答疑群? </p> <p> 购课后,添加助教微信:<span> csdn590</span>,按提示领取编程大礼包,或观看付费视频的第一节内容扫码进群答疑交流! </p> <p> <img src="https://img-bss.csdn.net/201912251155398753.jpg" alt=""> </p>

DDR5_Draft_Spec_Rev05c.pdf

DDR5 spec

Java面试史上最全的JAVA专业术语面试100问 (前1-50)

前言: 说在前面, 面试题是根据一些朋友去面试提供的,再就是从网上整理了一些。 先更新50道,下一波吧后面的也更出来。 求赞求关注!! 废话也不多说,现在就来看看有哪些面试题 1、面向对象的特点有哪些? 抽象、继承、封装、多态。 2、接口和抽象类有什么联系和区别? 3、重载和重写有什么区别? 4、java有哪些基本数据类型? 5、数组有没有length()方法?String有没有length()方法? 数组没有length()方法,它有length属性。 String有length()方法。 集合求长度用

网络工程师小白入门--【思科CCNA、华为HCNA等网络工程师认证】

本课程适合CCNA或HCNA网络小白同志,高手请绕道,可以直接学习进价课程。通过本预科课程的学习,为学习网络工程师、思科CCNA、华为HCNA这些认证打下坚实的基础! 重要!思科认证2020年2月24日起,已启用新版认证和考试,包括题库都会更新,由于疫情原因,请关注官网和本地考点信息。题库网络上很容易下载到。

C/C++跨平台研发从基础到高阶实战系列套餐

一 专题从基础的C语言核心到c++ 和stl完成基础强化; 二 再到数据结构,设计模式完成专业计算机技能强化; 三 通过跨平台网络编程,linux编程,qt界面编程,mfc编程,windows编程,c++与lua联合编程来完成应用强化 四 最后通过基于ffmpeg的音视频播放器,直播推流,屏幕录像,

Python界面版学生管理系统

前不久上传了一个控制台版本的学生管理系统,这个是Python界面版学生管理系统,这个是使用pycharm开发的一个有界面的学生管理系统,基本的增删改查,里面又演示视频和完整代码,有需要的伙伴可以自行下

2019数学建模A题高压油管的压力控制 省一论文即代码

2019数学建模A题高压油管的压力控制省一完整论文即详细C++和Matlab代码,希望对同学们有所帮助

4小时玩转微信小程序——基础入门与微信支付实战

这是一个门针对零基础学员学习微信小程序开发的视频教学课程。课程采用腾讯官方文档作为教程的唯一技术资料来源。杜绝网络上质量良莠不齐的资料给学员学习带来的障碍。 视频课程按照开发工具的下载、安装、使用、程序结构、视图层、逻辑层、微信小程序等几个部分组织课程,详细讲解整个小程序的开发过程

相关热词 c#分级显示数据 c# 不区分大小写替换 c#中调用就java c#正则表达式 验证小数 c# vscode 配置 c#三维数组能存多少数据 c# 新建excel c#多个文本框 c#怎么创建tcp通讯 c# mvc 电子病例
立即提问