Please feel free to correct me as needed. So, you're asking us if we've had a WTF moment with SQL because there are other ways to do file modification?
First, to that, as a concept, SQL != File I/O. Yes, SQL does file I/O. But it's intent is not just a fancy way of modifying files.
Second, does MySQL (and many others) store it's data in files? Yes. Is what MySQL is storing just text? No. As an aside, some databases use raw partitions without any OS concept of a filesystem.
So you found and copied the data directory over to the other machine, congrats. Does that mean MySQL is now just a bunch of text files? Again, no. Like others have said, either you're not understanding the purpose or trying to simplify it too much. Others have provided good links, take some time to read them.
As an example, not mine, you have departments, sales and employees. Departments have many employees, employees have many sales. Say you want to compare department sales figures. You can do this with a SQL engine, a NoSQL engine, raw text files, comma delimited, I don't care. So, you've got your tables and something you want to do.
So, here's a query:
SELECT d.dept_name, sum(s.sale_amount)
FROM sale s
INNER JOIN employee e on (s.employee_id = e.employee_id)
INNER JOIN department d on (e.department_id = d.department_id)
GROUP BY d.dept_name;
You can code that doing by reading a set of files. But, you'll most likely be looping through each department reading each employee, and each sale doing a total. Sounds like control-break logic to me, which is easy enough. Now, someone asks you to build a report for the sales amounts, daily, by employee. Your existing logic is out. And you say, "Ah! But I started building it in a standard way to read records! So it's not as hard as the first time." And that's when I say, "A database already provides you that standard way."
Now, imagine those tables store the data for a worldwide company, for the last 30 days or the last year. Perform those same tasks, in a reasonable time for a user interface. Do you split your data into multiple files to make it easier to read only what you need ? Do you create an index to make it easier to find the records in question? If you do, you're starting to build a database, whether you choose one that uses SQL as the way to query it or not. Databases present you ways of building indexes, analyzing query performance and cost, referential integrity, atomicity, partitioning, amongst other things. All the hard work is done for you. Heck, go the NoSQL route and it can still present you with many of these features.
So, is your argument that it's easier to do it in Python, etc, because you know Python? Or you didn't like doing the import/export statements?
I have to agree that they way you state your problem is confusing. Bringing in Slashdot or GNU as examples doesn't help. If you take issue with phpbb using SQL, find a forum software that doesn't use a database. If it's all about the right tool for the right job, what job are you doing? You say "web" and that's not a well defined problem. Does it require anything a database brings to the table in the first place? I think that's what everyone here has been driving at.