<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[E' possibile rendere disponibile MySQL a un sito remoto?]]></title><description><![CDATA[<p dir="auto">Ho un server con MySQL installato posso farlo utilizzare a phpBB che sta su un altro sito (Con IP diverso logicamente) ?</p>
]]></description><link>https://dev.connect.gt/topic/78264/e-possibile-rendere-disponibile-mysql-a-un-sito-remoto</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 03:32:31 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/78264.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 22 Jul 2008 16:58:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to E' possibile rendere disponibile MySQL a un sito remoto? on Fri, 25 Jul 2008 09:00:45 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>a.marco92</strong></p>
<p dir="auto">Ho provato ma dà quest'errore phpBB:</p>
<p dir="auto"><strong>Impossibile collegarsi al database, controlla il messaggio d?errore qui sotto.</strong><br />
<strong>Access denied for user 'webnet32'@'<a href="http://ns30.altervista.org" rel="nofollow ugc">ns30.altervista.org</a>' (using password: YES)</strong></p>
<p dir="auto">Ecco dove sta installato phpBB: <a href="http://webnet32.altervista.org" rel="nofollow ugc">webnet32.altervista.org</a><br />
Ecco invece dove sta installato MySQL: <a href="http://webnet32.dyndns.org" rel="nofollow ugc">webnet32.dyndns.org</a></p>
</blockquote>
<p dir="auto">significa che l'utente non ha i permessi per accedere al database</p>
<p dir="auto">devi creare l'utente webnet32 e dargli tutti i permessi necessari</p>
<p dir="auto">lo puoi fare sia da shell che tramite phpmyadmin</p>
]]></description><link>https://dev.connect.gt/post/743207</link><guid isPermaLink="true">https://dev.connect.gt/post/743207</guid><dc:creator><![CDATA[paolino]]></dc:creator><pubDate>Fri, 25 Jul 2008 09:00:45 GMT</pubDate></item><item><title><![CDATA[Reply to E' possibile rendere disponibile MySQL a un sito remoto? on Thu, 24 Jul 2008 18:22:36 GMT]]></title><description><![CDATA[<p dir="auto">Ho provato ma dà quest'errore phpBB:</p>
<p dir="auto"><strong>Impossibile collegarsi al database, controlla il messaggio d’errore qui sotto.</strong><br />
<strong>Access denied for user 'webnet32'@'<a href="http://ns30.altervista.org" rel="nofollow ugc">ns30.altervista.org</a>' (using password: YES)</strong></p>
<p dir="auto">Ecco dove sta installato phpBB: <a href="http://webnet32.altervista.org" rel="nofollow ugc">webnet32.altervista.org</a><br />
Ecco invece dove sta installato MySQL: <a href="http://webnet32.dyndns.org" rel="nofollow ugc">webnet32.dyndns.org</a></p>
]]></description><link>https://dev.connect.gt/post/743216</link><guid isPermaLink="true">https://dev.connect.gt/post/743216</guid><dc:creator><![CDATA[a.marco92]]></dc:creator><pubDate>Thu, 24 Jul 2008 18:22:36 GMT</pubDate></item><item><title><![CDATA[Reply to E' possibile rendere disponibile MySQL a un sito remoto? on Thu, 24 Jul 2008 12:05:57 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>a.marco92</strong></p>
<p dir="auto">Ma l'indirizzo IP che devo inserire di chi deve essere?</p>
<p dir="auto">Non solo ma va inserita cosi?</p>
<p dir="auto">[mysqld]</p>
<h1>The TCP/IP Port the MySQL Server will listen on</h1>
<p dir="auto">port=3306<br />
bind-address=192.168.xx.xx</p>
</blockquote>
<p dir="auto">è l'IP del computer su cui MySQL è in esecuzione</p>
]]></description><link>https://dev.connect.gt/post/743206</link><guid isPermaLink="true">https://dev.connect.gt/post/743206</guid><dc:creator><![CDATA[paolino]]></dc:creator><pubDate>Thu, 24 Jul 2008 12:05:57 GMT</pubDate></item><item><title><![CDATA[Reply to E' possibile rendere disponibile MySQL a un sito remoto? on Thu, 24 Jul 2008 11:27:00 GMT]]></title><description><![CDATA[<p dir="auto">Ma l'indirizzo IP che devo inserire di chi deve essere?</p>
<p dir="auto">Non solo ma va inserita cosi?</p>
<p dir="auto">[mysqld]</p>
<h1>The TCP/IP Port the MySQL Server will listen on</h1>
<p dir="auto">port=3306<br />
bind-address=192.168.xx.xx</p>
]]></description><link>https://dev.connect.gt/post/743215</link><guid isPermaLink="true">https://dev.connect.gt/post/743215</guid><dc:creator><![CDATA[a.marco92]]></dc:creator><pubDate>Thu, 24 Jul 2008 11:27:00 GMT</pubDate></item><item><title><![CDATA[Reply to E' possibile rendere disponibile MySQL a un sito remoto? on Wed, 23 Jul 2008 17:21:16 GMT]]></title><description><![CDATA[<p dir="auto">la sezione che interessa è questa</p>
<pre><code>[mysqld]
# The TCP/IP Port the MySQL Server will listen on
port=3306
</code></pre>
<p dir="auto">è qui sotto che va aggiunto bind-address=192.168.xx.xx</p>
]]></description><link>https://dev.connect.gt/post/743204</link><guid isPermaLink="true">https://dev.connect.gt/post/743204</guid><dc:creator><![CDATA[paolino]]></dc:creator><pubDate>Wed, 23 Jul 2008 17:21:16 GMT</pubDate></item><item><title><![CDATA[Reply to E' possibile rendere disponibile MySQL a un sito remoto? on Wed, 23 Jul 2008 15:40:01 GMT]]></title><description><![CDATA[<p dir="auto">Ecco il file my.ini</p>
<h1>MySQL Server Instance Configuration File</h1>
<h1>----------------------------------------------------------------------</h1>
<h1>Generated by the MySQL Server Instance Configuration Wizard</h1>
<h1></h1>
<h1></h1>
<h1>Installation Instructions</h1>
<h1>----------------------------------------------------------------------</h1>
<h1></h1>
<h1>On Linux you can copy this file to /etc/my.cnf to set global options,</h1>
<h1>mysql-data-dir/my.cnf to set server-specific options</h1>
<h1>(@localstatedir@ for this installation) or to</h1>
<h1>~/.my.cnf to set user-specific options.</h1>
<h1></h1>
<h1>On Windows you should keep this file in the installation directory</h1>
<h1>of your server (e.g. C:\Program Files\MySQL\MySQL Server X.Y). To</h1>
<h1>make sure the server reads the config file use the startup option</h1>
<h1>"--defaults-file".</h1>
<h1></h1>
<h1>To run run the server from the command line, execute this in a</h1>
<h1>command line shell, e.g.</h1>
<h1>mysqld --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"</h1>
<h1></h1>
<h1>To install the server as a Windows service manually, execute this in a</h1>
<h1>command line shell, e.g.</h1>
<h1>mysqld --install MySQLXY --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"</h1>
<h1></h1>
<h1>And then execute this in a command line shell to start the server, e.g.</h1>
<h1>net start MySQLXY</h1>
<h1></h1>
<h1></h1>
<h1>Guildlines for editing this file</h1>
<h1>----------------------------------------------------------------------</h1>
<h1></h1>
<h1>In this file, you can use all long options that the program supports.</h1>
<h1>If you want to know the options a program supports, start the program</h1>
<h1>with the "--help" option.</h1>
<h1></h1>
<h1>More detailed information about the individual options can also be</h1>
<h1>found in the manual.</h1>
<h1></h1>
<h1></h1>
<h1>CLIENT SECTION</h1>
<h1>----------------------------------------------------------------------</h1>
<h1></h1>
<h1>The following options will be read by MySQL client applications.</h1>
<h1>Note that only client applications shipped by MySQL are guaranteed</h1>
<h1>to read this section. If you want your own MySQL client program to</h1>
<h1>honor these values, you need to specify it as an option during the</h1>
<h1>MySQL client library initialization.</h1>
<h1></h1>
<p dir="auto">[client]<br />
port=3306<br />
[mysql]<br />
default-character-set=latin1</p>
<h1>SERVER SECTION</h1>
<h1>----------------------------------------------------------------------</h1>
<h1></h1>
<h1>The following options will be read by the MySQL Server. Make sure that</h1>
<h1>you have installed the server correctly (see above) so it reads this</h1>
<h1>file.</h1>
<h1></h1>
<p dir="auto">[mysqld]</p>
<h1>The TCP/IP Port the MySQL Server will listen on</h1>
<p dir="auto">port=3306</p>
<p dir="auto"><a href="/hashtags/path">#Path</a> to installation directory. All paths are usually resolved relative to this.<br />
basedir="C:/Program Files (x86)/MySQL/MySQL Server 5.0/"<br />
<a href="/hashtags/path">#Path</a> to the database root<br />
datadir="C:/Program Files (x86)/MySQL/MySQL Server 5.0/Data/"</p>
<h1>The default character set that will be used when a new schema or table is</h1>
<h1>created and no character set is defined</h1>
<p dir="auto">default-character-set=latin1</p>
<h1>The default storage engine that will be used when create new tables when</h1>
<p dir="auto">default-storage-engine=INNODB</p>
<h1>Set the SQL mode to strict</h1>
<p dir="auto">sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"</p>
<h1>The maximum amount of concurrent sessions the MySQL server will</h1>
<h1>allow. One of these connections will be reserved for a user with</h1>
<h1>SUPER privileges to allow the administrator to login even if the</h1>
<h1>connection limit has been reached.</h1>
<p dir="auto">max_connections=100</p>
<h1>Query cache is used to cache SELECT results and later return them</h1>
<h1>without actual executing the same query once again. Having the query</h1>
<h1>cache enabled may result in significant speed improvements, if your</h1>
<h1>have a lot of identical queries and rarely changing tables. See the</h1>
<h1>"Qcache_lowmem_prunes" status variable to check if the current value</h1>
<h1>is high enough for your load.</h1>
<h1>Note: In case your tables change very often or if your queries are</h1>
<h1>textually different every time, the query cache may result in a</h1>
<h1>slowdown instead of a performance improvement.</h1>
<p dir="auto">query_cache_size=0</p>
<h1>The number of open tables for all threads. Increasing this value</h1>
<h1>increases the number of file descriptors that mysqld requires.</h1>
<h1>Therefore you have to make sure to set the amount of open files</h1>
<h1>allowed to at least 4096 in the variable "open-files-limit" in</h1>
<h1>section [mysqld_safe]</h1>
<p dir="auto">table_cache=256</p>
<h1>Maximum size for internal (in-memory) temporary tables. If a table</h1>
<h1>grows larger than this value, it is automatically converted to disk</h1>
<h1>based table This limitation is for a single table. There can be many</h1>
<h1>of them.</h1>
<p dir="auto">tmp_table_size=18M</p>
<h1>How many threads we should keep in a cache for reuse. When a client</h1>
<h1>disconnects, the client's threads are put in the cache if there aren't</h1>
<h1>more than thread_cache_size threads from before. This greatly reduces</h1>
<h1>the amount of thread creations needed if you have a lot of new</h1>
<h1>connections. (Normally this doesn't give a notable performance</h1>
<h1>improvement if you have a good thread implementation.)</h1>
<p dir="auto">thread_cache_size=8<br />
#*** MyISAM Specific options</p>
<h1>The maximum size of the temporary file MySQL is allowed to use while</h1>
<h1>recreating the index (during REPAIR, ALTER TABLE or LOAD DATA INFILE.</h1>
<h1>If the file-size would be bigger than this, the index will be created</h1>
<h1>through the key cache (which is slower).</h1>
<p dir="auto">myisam_max_sort_file_size=100G</p>
<h1>If the temporary file used for fast index creation would be bigger</h1>
<h1>than using the key cache by the amount specified here, then prefer the</h1>
<h1>key cache method. This is mainly used to force long character keys in</h1>
<h1>large tables to use the slower key cache method to create the index.</h1>
<p dir="auto">myisam_max_extra_sort_file_size=100G</p>
<h1>If the temporary file used for fast index creation would be bigger</h1>
<h1>than using the key cache by the amount specified here, then prefer the</h1>
<h1>key cache method. This is mainly used to force long character keys in</h1>
<h1>large tables to use the slower key cache method to create the index.</h1>
<p dir="auto">myisam_sort_buffer_size=35M</p>
<h1>Size of the Key Buffer, used to cache index blocks for MyISAM tables.</h1>
<h1>Do not set it larger than 30% of your available memory, as some memory</h1>
<h1>is also required by the OS to cache rows. Even if you're not using</h1>
<h1>MyISAM tables, you should still set it to 8-64M as it will also be</h1>
<h1>used for internal temporary disk tables.</h1>
<p dir="auto">key_buffer_size=25M</p>
<h1>Size of the buffer used for doing full table scans of MyISAM tables.</h1>
<h1>Allocated per thread, if a full scan is needed.</h1>
<p dir="auto">read_buffer_size=64K<br />
read_rnd_buffer_size=256K</p>
<h1>This buffer is allocated when MySQL needs to rebuild the index in</h1>
<h1>REPAIR, OPTIMZE, ALTER table statements as well as in LOAD DATA INFILE</h1>
<h1>into an empty table. It is allocated per thread so be careful with</h1>
<h1>large settings.</h1>
<p dir="auto">sort_buffer_size=256K</p>
<p dir="auto">#*** INNODB Specific options ***</p>
<h1>Use this option if you have a MySQL server with InnoDB support enabled</h1>
<h1>but you do not plan to use it. This will save memory and disk space</h1>
<h1>and speed up some things.</h1>
<p dir="auto"><a href="/hashtags/skip-innodb">#skip-innodb</a></p>
<h1>Additional memory pool that is used by InnoDB to store metadata</h1>
<h1>information. If InnoDB requires more memory for this purpose it will</h1>
<h1>start to allocate it from the OS. As this is fast enough on most</h1>
<h1>recent operating systems, you normally do not need to change this</h1>
<h1>value. SHOW INNODB STATUS will display the current amount used.</h1>
<p dir="auto">innodb_additional_mem_pool_size=2M</p>
<h1>If set to 1, InnoDB will flush (fsync) the transaction logs to the</h1>
<h1>disk at each commit, which offers full ACID behavior. If you are</h1>
<h1>willing to compromise this safety, and you are running small</h1>
<h1>transactions, you may set this to 0 or 2 to reduce disk I/O to the</h1>
<h1>logs. Value 0 means that the log is only written to the log file and</h1>
<h1>the log file flushed to disk approximately once per second. Value 2</h1>
<h1>means the log is written to the log file at each commit, but the log</h1>
<h1>file is only flushed to disk approximately once per second.</h1>
<p dir="auto">innodb_flush_log_at_trx_commit=1</p>
<h1>The size of the buffer InnoDB uses for buffering log data. As soon as</h1>
<h1>it is full, InnoDB will have to flush it to disk. As it is flushed</h1>
<h1>once per second anyway, it does not make sense to have it very large</h1>
<h1>(even with long transactions).</h1>
<p dir="auto">innodb_log_buffer_size=1M</p>
<h1>InnoDB, unlike MyISAM, uses a buffer pool to cache both indexes and</h1>
<h1>row data. The bigger you set this the less disk I/O is needed to</h1>
<h1>access data in tables. On a dedicated database server you may set this</h1>
<h1>parameter up to 80% of the machine physical memory size. Do not set it</h1>
<h1>too large, though, because competition of the physical memory may</h1>
<h1>cause paging in the operating system. Note that on 32bit systems you</h1>
<h1>might be limited to 2-3.5G of user level memory per process, so do not</h1>
<h1>set it too high.</h1>
<p dir="auto">innodb_buffer_pool_size=47M</p>
<h1>Size of each log file in a log group. You should set the combined size</h1>
<h1>of log files to about 25%-100% of your buffer pool size to avoid</h1>
<h1>unneeded buffer pool flush activity on log file overwrite. However,</h1>
<h1>note that a larger logfile size will increase the time needed for the</h1>
<h1>recovery process.</h1>
<p dir="auto">innodb_log_file_size=24M</p>
<h1>Number of threads allowed inside the InnoDB kernel. The optimal value</h1>
<h1>depends highly on the application, hardware as well as the OS</h1>
<h1>scheduler properties. A too high value may lead to thread thrashing.</h1>
<p dir="auto">innodb_thread_concurrency=10</p>
]]></description><link>https://dev.connect.gt/post/743214</link><guid isPermaLink="true">https://dev.connect.gt/post/743214</guid><dc:creator><![CDATA[a.marco92]]></dc:creator><pubDate>Wed, 23 Jul 2008 15:40:01 GMT</pubDate></item><item><title><![CDATA[Reply to E' possibile rendere disponibile MySQL a un sito remoto? on Wed, 23 Jul 2008 15:31:15 GMT]]></title><description><![CDATA[<p dir="auto">beh devono esserci, posta il file my.ini</p>
]]></description><link>https://dev.connect.gt/post/743203</link><guid isPermaLink="true">https://dev.connect.gt/post/743203</guid><dc:creator><![CDATA[paolino]]></dc:creator><pubDate>Wed, 23 Jul 2008 15:31:15 GMT</pubDate></item><item><title><![CDATA[Reply to E' possibile rendere disponibile MySQL a un sito remoto? on Wed, 23 Jul 2008 15:02:54 GMT]]></title><description><![CDATA[<p dir="auto">Si ma queste stringhe che dici nn le trovo</p>
]]></description><link>https://dev.connect.gt/post/743213</link><guid isPermaLink="true">https://dev.connect.gt/post/743213</guid><dc:creator><![CDATA[a.marco92]]></dc:creator><pubDate>Wed, 23 Jul 2008 15:02:54 GMT</pubDate></item><item><title><![CDATA[Reply to E' possibile rendere disponibile MySQL a un sito remoto? on Wed, 23 Jul 2008 14:43:31 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>a.marco92</strong></p>
<p dir="auto">Io trovo solo il file my.ini ma my.cnf nn lo vedo,<br />
le tabelle poi le edita phpBB no io, la versione MySQL invece è: MySQL 5.0</p>
</blockquote>
<p dir="auto">si sotto windows è my.ini</p>
]]></description><link>https://dev.connect.gt/post/743208</link><guid isPermaLink="true">https://dev.connect.gt/post/743208</guid><dc:creator><![CDATA[paolino]]></dc:creator><pubDate>Wed, 23 Jul 2008 14:43:31 GMT</pubDate></item><item><title><![CDATA[Reply to E' possibile rendere disponibile MySQL a un sito remoto? on Wed, 23 Jul 2008 14:11:22 GMT]]></title><description><![CDATA[<p dir="auto">Io trovo solo il file my.ini ma my.cnf nn lo vedo,<br />
le tabelle poi le edita phpBB no io, la versione MySQL invece è: MySQL 5.0</p>
]]></description><link>https://dev.connect.gt/post/743212</link><guid isPermaLink="true">https://dev.connect.gt/post/743212</guid><dc:creator><![CDATA[a.marco92]]></dc:creator><pubDate>Wed, 23 Jul 2008 14:11:22 GMT</pubDate></item><item><title><![CDATA[Reply to E' possibile rendere disponibile MySQL a un sito remoto? on Wed, 23 Jul 2008 12:42:09 GMT]]></title><description><![CDATA[<p dir="auto">bisogna editare il file di configurazione my.cnf</p>
<p dir="auto">devi assicurarti che skip-networking sia commentato e che bind-address = ip-del-server-mysql</p>
<p dir="auto">a questo punto puoi connetterti a mysql da remoto</p>
<p dir="auto">ovviamente quando vai a creare le tabelle devi garantire accesso all'utente dal PC locale</p>
<p dir="auto">per esempio se MySQL si trova all'indirizzo 192.168.0.4 e il PC da cui ti connetti è 192.168.0.18 dovrai creare le tabelle con questi permessi</p>
<p dir="auto">GRANT ALL ON nome-tabella.* TO nome-utente@'192.168.0.18' IDENTIFIED BY 'qui va la password';</p>
]]></description><link>https://dev.connect.gt/post/743205</link><guid isPermaLink="true">https://dev.connect.gt/post/743205</guid><dc:creator><![CDATA[paolino]]></dc:creator><pubDate>Wed, 23 Jul 2008 12:42:09 GMT</pubDate></item><item><title><![CDATA[Reply to E' possibile rendere disponibile MySQL a un sito remoto? on Wed, 23 Jul 2008 11:57:28 GMT]]></title><description><![CDATA[<p dir="auto">Questo è il bello come si fà?</p>
]]></description><link>https://dev.connect.gt/post/743211</link><guid isPermaLink="true">https://dev.connect.gt/post/743211</guid><dc:creator><![CDATA[a.marco92]]></dc:creator><pubDate>Wed, 23 Jul 2008 11:57:28 GMT</pubDate></item><item><title><![CDATA[Reply to E' possibile rendere disponibile MySQL a un sito remoto? on Wed, 23 Jul 2008 11:31:13 GMT]]></title><description><![CDATA[<p dir="auto">MySQL è accessibile sia in locale che in remoto, ovviamente di default l'accesso remoto è bloccato, basta cambiare la configurazione</p>
]]></description><link>https://dev.connect.gt/post/743202</link><guid isPermaLink="true">https://dev.connect.gt/post/743202</guid><dc:creator><![CDATA[paolino]]></dc:creator><pubDate>Wed, 23 Jul 2008 11:31:13 GMT</pubDate></item></channel></rss>