Modify tmpdir

Using Web Server, PHP, MySQL, MariaDB.
Post Reply
User avatar
Rayos
Posts: 2
Joined: 02 Feb 2025, 07:28
United States of America

Modify tmpdir

Post by Rayos »

Hello, I am trying to create a fulltext index on a large (around a million rows) table, but the location my tmpdir is set to does not contain enough space. How do I modify the tmpdir to a different directory so that I can create this index?
User avatar
CursaYang
TM Support
Posts: 740
Joined: 06 Jan 2025, 16:34
China

Re: Modify tmpdir

Post by CursaYang »

Which web server are you using?
To contact our team, please send email to following addresses, remember to replace (at) with @

Technical team: support(at)terra-master.com(for technical support)
Service team: service(at)terra-master.com(for purchasing, return, replacement, RMA service)
User avatar
Rayos
Posts: 2
Joined: 02 Feb 2025, 07:28
United States of America

Re: Modify tmpdir

Post by Rayos »

Cursa wrote: 18 Feb 2025, 15:31 Which web server are you using?
I am using phpMyAdmin with MariaDB on a F2-212 Terramaster.
User avatar
CursaYang
TM Support
Posts: 740
Joined: 06 Jan 2025, 16:34
China

Re: Modify tmpdir

Post by CursaYang »

The configuration file for MariaDB is usually `my.cnf` or `my.ini`. Find the `tmpdir` configuration option and set it to the path of the new directory.

[mysqld]
tmpdir = /path/to/new/tmpdir

After modifying the configuration file, you need to restart the MariaDB service for the changes to take effect.
To contact our team, please send email to following addresses, remember to replace (at) with @

Technical team: support(at)terra-master.com(for technical support)
Service team: service(at)terra-master.com(for purchasing, return, replacement, RMA service)
Post Reply

Return to “Web Server/PHP/MySQL/MariaDB”