<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>database &#8211; Lhy&#039;s blog</title>
	<atom:link href="https://blog.lhyshome.com/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.lhyshome.com</link>
	<description>welcome</description>
	<lastBuildDate>Tue, 21 May 2024 10:13:34 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">219834889</site>	<item>
		<title>连接有schema结构的数据库，默认schema</title>
		<link>https://blog.lhyshome.com/2024/05/13/65/</link>
					<comments>https://blog.lhyshome.com/2024/05/13/65/#respond</comments>
		
		<dc:creator><![CDATA[lhy]]></dc:creator>
		<pubDate>Mon, 13 May 2024 03:05:22 +0000</pubDate>
				<category><![CDATA[java]]></category>
		<category><![CDATA[小技巧]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[神通数据库]]></category>
		<guid isPermaLink="false">https://blog.lhyshome.com/?p=65</guid>

					<description><![CDATA[国产神通数据库： ps: currentSchema=mySchema，还有这种写法 目前还没有尝试 2023… <span class="read-more"><a href="https://blog.lhyshome.com/2024/05/13/65/">Read More &#187;</a></span>]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">国产神通数据库：</h2>



<pre class="wp-block-code"><code>jdbc:oscar://127.0.0.1:2003/OSRDB?searchpath=cloudmanage</code></pre>



<p>ps:</p>



<pre class="wp-block-preformatted">currentSchema=mySchema，还有这种写法 目前还没有尝试</pre>



<p>2023.06.21更新 还有如下配置方式</p>



<pre class="wp-block-code"><code>  datasource:
    url: jdbc:oscar://10.217.138.67:2003/OSRDB
    username: sysdba
    password: szoscar55
    driver-class-name: com.oscar.Driver
    hikari:
      schema: XC_CLOUDMANAGE
      minimum-idle: 10
      maximum-pool-size: 60
      idle-timeout: 60000
      max-lifetime: 1800000</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.lhyshome.com/2024/05/13/65/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">65</post-id>	</item>
		<item>
		<title>mysql创建新用户新db且赋予权限</title>
		<link>https://blog.lhyshome.com/2024/05/13/49/</link>
					<comments>https://blog.lhyshome.com/2024/05/13/49/#respond</comments>
		
		<dc:creator><![CDATA[lhy]]></dc:creator>
		<pubDate>Mon, 13 May 2024 02:50:23 +0000</pubDate>
				<category><![CDATA[脚本]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<guid isPermaLink="false">https://blog.lhyshome.com/?p=49</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<pre class="wp-block-code"><code>CREATE USER '${userName}'@'%' IDENTIFIED BY '${password}';
CREATE DATABASE ${databaseName};
GRANT ALL ON ${databaseName}.* TO '{userName}'@'%'</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.lhyshome.com/2024/05/13/49/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">49</post-id>	</item>
	</channel>
</rss>
