For InnoDB tables "... The maximum tablespace size is four billion database pages (64Tš. This is also the maximum size for a table."
"With the MyISAM storage engine in MySQL 3.23, the maximum table size was increased to 65536 terabytes (2567 ā 1 bytes). With this larger allowed table size, the maximum effective table size for MySQL databases is usually determined by operating system constraints on file sizes, not by MySQL internal limits."
Not going to be a problem there then. If your operating system can handle the file-size then mysql can use it.
In effect the maximum number of rows you can store in a table will be the maximum size of the primary key index - provided they do not exceed the total byte capacity of the physical file.
Making such a monster work fast is a whole other problem.